libqasm
library for handling cQASM files
|
Defines utilities for detecting and dealing with cQASM language versions. More...
Go to the source code of this file.
Classes | |
class | cqasm::version::Version |
Version number primitive used within the AST and semantic trees. More... | |
class | cqasm::version::ParseHelper |
Internal helper class for parsing cQASM file versions. More... | |
Namespaces | |
cqasm | |
Toplevel namespace with entry points for the new API. | |
cqasm::version | |
Namespace for detecting and dealing with cQASM language versions. | |
Functions | |
std::ostream & | cqasm::version::operator<< (std::ostream &os, const Version &object) |
Stream << overload for version nodes. More... | |
Version | cqasm::version::parse_file (const std::string &filename) |
Parse the given file to get its version number. More... | |
Version | cqasm::version::parse_file (FILE *file, const std::string &filename) |
Parse using the given file pointer to get its version number. More... | |
Version | cqasm::version::parse_string (const std::string &data, const std::string &filename) |
Parse the given string as a file to get its version number. More... | |
Defines utilities for detecting and dealing with cQASM language versions.
Definition in file cqasm-version.hpp.
#include <string>
#include <cstdint>
#include <complex>
#include <vector>