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

Implementation for cqasm-version.hpp. More...

Go to the source code of this file.

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...
 

Detailed Description

Implementation for cqasm-version.hpp.

Definition in file cqasm-version.cpp.

#include "cqasm-version.hpp"
#include "cqasm-error.hpp"
#include "cqasm-version-parser.hpp"
#include "cqasm-version-lexer.hpp"
Include dependency graph for cqasm-version.cpp: