GraphLibrary  0.0.1
A simple library that implements various graph algorithms.
 All Classes Namespaces Files Functions Variables Typedefs Macros
gl::io Namespace Reference

Classes

class  YAMLReader
 Class to Read from a YAML file. More...
 

Functions

void compileLatex (const char *filename, const char *arguments="")
 Invokes lualatex command to compile tex to pdf. More...
 
Prints all contents of the given GraphLib container.
Parameters
osStream that will be used for output
rhsContainer that will be printed
template<class container >
void printContainer (const container &rhs)
 Unspecialized template to throw errors. More...
 
template<class idx_t >
void printContainer (const std::list< idx_t > &rhs)
 Prints all elements of an std::list. More...
 
template<class idx_t >
void printContainer (const std::vector< idx_t > &rhs)
 Prints all elements of an std::vector. More...
 
template<class idx_t >
void printContainer (const std::deque< idx_t > &rhs)
 Prints all elements of an std::queue. More...
 
template<class idx_t >
void printContainer (const std::stack< idx_t > &rhs)
 Prints all elements of an std::stack. More...
 

Function Documentation

void gl::io::compileLatex ( const char *  filename,
const char *  arguments = "" 
)

Invokes lualatex command to compile tex to pdf.

Parameters
filenameName of the file to compile
argumentsOptional additional arguments
template<class container >
void gl::io::printContainer ( const container &  rhs)

Unspecialized template to throw errors.

template<class idx_t >
void gl::io::printContainer ( const std::list< idx_t > &  rhs)

Prints all elements of an std::list.

template<class idx_t >
void gl::io::printContainer ( const std::vector< idx_t > &  rhs)

Prints all elements of an std::vector.

template<class idx_t >
void gl::io::printContainer ( const std::deque< idx_t > &  rhs)

Prints all elements of an std::queue.

template<class idx_t >
void gl::io::printContainer ( const std::stack< idx_t > &  rhs)

Prints all elements of an std::stack.