libqasm
library for handling cQASM files
Namespaces | Functions
cqasm-v1-primitives.cpp File Reference

Implementation for cqasm-v1-primitives.hpp. More...

Go to the source code of this file.

Namespaces

 cqasm
 Toplevel namespace with entry points for the new API.
 
 cqasm::v1
 Namespace for the "new" cQASM 1.x API.
 
 cqasm::v1::primitives
 Namespace for the primitive types used in trees generated by tree-gen.
 

Functions

template<>
Str cqasm::v1::primitives::initialize< Str > ()
 
template<>
void cqasm::v1::primitives::serialize (const Str &obj, ::tree::cbor::MapWriter &map)
 
template<>
Str cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
Bool cqasm::v1::primitives::initialize< Bool > ()
 
template<>
void cqasm::v1::primitives::serialize (const Bool &obj, ::tree::cbor::MapWriter &map)
 
template<>
Bool cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
Axis cqasm::v1::primitives::initialize< Axis > ()
 
template<>
void cqasm::v1::primitives::serialize (const Axis &obj, ::tree::cbor::MapWriter &map)
 
template<>
Axis cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
Int cqasm::v1::primitives::initialize< Int > ()
 
template<>
void cqasm::v1::primitives::serialize (const Int &obj, ::tree::cbor::MapWriter &map)
 
template<>
Int cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
Real cqasm::v1::primitives::initialize< Real > ()
 
template<>
void cqasm::v1::primitives::serialize (const Real &obj, ::tree::cbor::MapWriter &map)
 
template<>
Real cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
void cqasm::v1::primitives::serialize (const Complex &obj, ::tree::cbor::MapWriter &map)
 
template<>
Complex cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
void cqasm::v1::primitives::serialize (const RMatrix &obj, ::tree::cbor::MapWriter &map)
 
template<>
RMatrix cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
void cqasm::v1::primitives::serialize (const CMatrix &obj, ::tree::cbor::MapWriter &map)
 
template<>
CMatrix cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
template<>
void cqasm::v1::primitives::serialize (const Version &obj, ::tree::cbor::MapWriter &map)
 
template<>
Version cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map)
 Deserializes the given primitive object from CBOR. More...
 
std::ostream & cqasm::v1::primitives::operator<< (std::ostream &os, const Axis &axis)
 Stream << overload for axis nodes. More...
 

Detailed Description

Implementation for cqasm-v1-primitives.hpp.

Definition in file cqasm-v1-primitives.cpp.

#include "cqasm-v1-primitives.hpp"
Include dependency graph for cqasm-v1-primitives.cpp: