libbio
Loading...
Searching...
No Matches
Functions
bio::symmetry_type Namespace Reference

Functions

SymmetryType Object ()
 
SymmetryType Container ()
 
SymmetryType Namespace ()
 
SymmetryType Reference ()
 
SymmetryType Operation ()
 
SymmetryType Array ()
 
SymmetryType Map ()
 
SymmetryType MapEntry ()
 
SymmetryType Tag ()
 
SymmetryType Variable ()
 
SymmetryType StartFunction ()
 
SymmetryType QualifyFunction ()
 
SymmetryType DefineFunctionArgument ()
 
SymmetryType EndFunction ()
 
SymmetryType StartFunctionCall ()
 
SymmetryType AddArgument ()
 
SymmetryType EndFunctionCall ()
 
SymmetryType Comment ()
 
SymmetryType Value ()
 
SymmetryType Super ()
 
SymmetryType StartComment ()
 
SymmetryType CommentString ()
 
SymmetryType EndComment ()
 
SymmetryType QualifyVariable ()
 
SymmetryType Null ()
 
SymmetryType Bool ()
 
SymmetryType SignedInt ()
 
SymmetryType UnsignedInt ()
 
SymmetryType Float32 ()
 
SymmetryType Float64 ()
 
SymmetryType Text ()
 
SymmetryType Bytes ()
 
SymmetryType Simple ()
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Object)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Container)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Namespace)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Reference)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Operation)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Array)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Map)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (MapEntry)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Tag)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Variable)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (StartFunction)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (QualifyFunction)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (DefineFunctionArgument)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (EndFunction)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (StartFunctionCall)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (AddArgument)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (EndFunctionCall)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (StartComment)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Comment)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (CommentString)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (EndComment)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Value)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (QualifyVariable)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Super)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Null)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Bool)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (SignedInt)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (UnsignedInt)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Float32)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Float64)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Text)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Bytes)
 
 BIO_SYMMETRY_TYPE_FUNCTION_BODY (Simple)
 

Function Documentation

◆ AddArgument()

SymmetryType bio::symmetry_type::AddArgument ( )

◆ Array()

SymmetryType bio::symmetry_type::Array ( )

Canonical structural SymmetryTypes for lossless interop.
See the canonical base-data helpers in bio/chemical/symmetry/BaseData.h for the contract.

These kinds require child symmetries and therefore live at the chemical layer,
which is where chemical::Symmetry first adds LinearMotif< physical::Symmetry >.

Array -> ordered list of child symmetries; child names are positional ("0", "1", ...)
Map -> ordered list of MapEntry children; positional names
MapEntry -> exactly two children named "key" and "value"; key may be any kind
Tag -> ByteStream(uint64_t) tag number + one child named "value"

Helpers to build/inspect these kinds live in bio/chemical/symmetry/BaseData.h.

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [1/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( AddArgument  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [2/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Array  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [3/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Bool  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [4/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Bytes  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [5/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Comment  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [6/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( CommentString  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [7/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Container  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [8/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( DefineFunctionArgument  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [9/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( EndComment  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [10/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( EndFunction  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [11/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( EndFunctionCall  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [12/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Float32  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [13/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Float64  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [14/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Map  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [15/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( MapEntry  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [16/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Namespace  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [17/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Null  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [18/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Object  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [19/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Operation  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [20/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( QualifyFunction  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [21/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( QualifyVariable  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [22/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Reference  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [23/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( SignedInt  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [24/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Simple  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [25/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( StartComment  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [26/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( StartFunction  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [27/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( StartFunctionCall  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [28/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Super  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [29/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Tag  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [30/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Text  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [31/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( UnsignedInt  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [32/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Value  )

◆ BIO_SYMMETRY_TYPE_FUNCTION_BODY() [33/33]

bio::symmetry_type::BIO_SYMMETRY_TYPE_FUNCTION_BODY ( Variable  )

◆ Bool()

SymmetryType bio::symmetry_type::Bool ( )

◆ Bytes()

SymmetryType bio::symmetry_type::Bytes ( )

◆ Comment()

SymmetryType bio::symmetry_type::Comment ( )

◆ CommentString()

SymmetryType bio::symmetry_type::CommentString ( )

◆ Container()

SymmetryType bio::symmetry_type::Container ( )

◆ DefineFunctionArgument()

SymmetryType bio::symmetry_type::DefineFunctionArgument ( )

◆ EndComment()

SymmetryType bio::symmetry_type::EndComment ( )

◆ EndFunction()

SymmetryType bio::symmetry_type::EndFunction ( )

◆ EndFunctionCall()

SymmetryType bio::symmetry_type::EndFunctionCall ( )

◆ Float32()

SymmetryType bio::symmetry_type::Float32 ( )

◆ Float64()

SymmetryType bio::symmetry_type::Float64 ( )

◆ Map()

SymmetryType bio::symmetry_type::Map ( )

◆ MapEntry()

SymmetryType bio::symmetry_type::MapEntry ( )

◆ Namespace()

SymmetryType bio::symmetry_type::Namespace ( )

◆ Null()

SymmetryType bio::symmetry_type::Null ( )

Canonical base-data SymmetryTypes for lossless interop (Elder, CBOR, JSON, C axes, etc.).
See the canonical scalar helpers in bio/physical/symmetry/BaseData.h for the contract.

Each canonical scalar kind maps to exactly one storage type in ByteStream:
Null -> empty ByteStream
Bool -> ByteStream(bool)
SignedInt -> ByteStream(int64_t)
UnsignedInt -> ByteStream(uint64_t)
Float32 -> ByteStream(float)
Float64 -> ByteStream(double)
Text -> ByteStream(bio::String)
Bytes -> ByteStream(bio::Bytes)
Simple -> ByteStream(uint8_t) (CBOR simple values OTHER than false/true/null, which are Bool/Null)

Helpers to set/get these kinds live in bio/physical/symmetry/BaseData.h.
Structural kinds (Array, Map, MapEntry, Tag) require children and live in the chemical layer.

◆ Object()

SymmetryType bio::symmetry_type::Object ( )

◆ Operation()

SymmetryType bio::symmetry_type::Operation ( )

◆ QualifyFunction()

SymmetryType bio::symmetry_type::QualifyFunction ( )

◆ QualifyVariable()

SymmetryType bio::symmetry_type::QualifyVariable ( )

◆ Reference()

SymmetryType bio::symmetry_type::Reference ( )

◆ SignedInt()

SymmetryType bio::symmetry_type::SignedInt ( )

◆ Simple()

SymmetryType bio::symmetry_type::Simple ( )

◆ StartComment()

SymmetryType bio::symmetry_type::StartComment ( )

◆ StartFunction()

SymmetryType bio::symmetry_type::StartFunction ( )

◆ StartFunctionCall()

SymmetryType bio::symmetry_type::StartFunctionCall ( )

◆ Super()

SymmetryType bio::symmetry_type::Super ( )

◆ Tag()

SymmetryType bio::symmetry_type::Tag ( )

◆ Text()

SymmetryType bio::symmetry_type::Text ( )

◆ UnsignedInt()

SymmetryType bio::symmetry_type::UnsignedInt ( )

◆ Value()

SymmetryType bio::symmetry_type::Value ( )

◆ Variable()

SymmetryType bio::symmetry_type::Variable ( )