libqasm
library for handling cQASM files
|
Implementation for cqasm-v1-instruction.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::instruction | |
Namespace for the Instruction class and helper types. | |
cqasm::v1::primitives | |
Namespace for the primitive types used in trees generated by tree-gen. | |
Functions | |
std::ostream & | cqasm::v1::instruction::operator<< (std::ostream &os, const Instruction &insn) |
Stream << overload for instructions. More... | |
std::ostream & | cqasm::v1::instruction::operator<< (std::ostream &os, const InstructionRef &insn) |
Stream << overload for instruction references. More... | |
template<> | |
void | cqasm::v1::primitives::serialize (const instruction::InstructionRef &obj, ::tree::cbor::MapWriter &map) |
template<> | |
instruction::InstructionRef | cqasm::v1::primitives::deserialize (const ::tree::cbor::MapReader &map) |
Deserializes the given primitive object from CBOR. More... | |
Implementation for cqasm-v1-instruction.hpp.
Definition in file cqasm-v1-instruction.cpp.