Flow123d  jenkins-Flow123d-linux-release-multijob-198
Namespaces | Classes | Functions
Input::Type Namespace Reference

Namespaces

 internal
 

Classes

class  TypeBase
 Base of classes for declaring structure of the input data. More...
 
class  Array
 Class for declaration of inputs sequences. More...
 
class  Scalar
 Base of all scalar types. More...
 
class  Bool
 Class for declaration of the input of type Bool. More...
 
class  Integer
 Class for declaration of the integral input data. More...
 
class  Double
 Class for declaration of the input data that are floating point numbers. More...
 
class  String
 
class  FileName
 Class for declaration of the input data that are file names. More...
 
class  OutputBase
 Base abstract class for output description of the Input::Type tree. More...
 
class  OutputText
 Class for create text documentation. More...
 
class  OutputJSONTemplate
 Class for create and JSON template documentation. More...
 
class  OutputLatex
 Class for create documentation in Latex format using particular macros. More...
 
class  OutputJSONMachine
 Class for create JSON machine readable documentation. More...
 
class  Default
 Class Input::Type::Default specifies default value of keys of a Input::Type::Record. More...
 
class  Record
 Record type proxy class. More...
 
class  AbstractRecord
 Class for declaration of polymorphic Record. More...
 
class  AdHocAbstractRecord
 
class  Selection
 Template for classes storing finite set of named values. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const TypeBase &type)
 
 ARRAY_CONSTRUCT (String)
 
 ARRAY_CONSTRUCT (Integer)
 
 ARRAY_CONSTRUCT (Double)
 
 ARRAY_CONSTRUCT (Bool)
 
 ARRAY_CONSTRUCT (FileName)
 
 ARRAY_CONSTRUCT (Selection)
 
 ARRAY_CONSTRUCT (Array)
 
 ARRAY_CONSTRUCT (Record)
 
 ARRAY_CONSTRUCT (AbstractRecord)
 
 TYPEDEF_ERR_INFO (EI_KeyName, const string)
 
 TYPEDEF_ERR_INFO (EI_DefaultStr, const string)
 
 TYPEDEF_ERR_INFO (EI_TypeName, const string)
 
 DECLARE_EXCEPTION (ExcWrongDefault,<< "Default value "<< EI_DefaultStr::qval<< " do not match type: "<< EI_TypeName::qval<< ";\n"<< "During declaration of the key: "<< EI_KeyName::qval)
 
std::ostream & operator<< (std::ostream &stream, OutputText type_output)
 
std::ostream & operator<< (std::ostream &stream, OutputJSONTemplate type_output)
 
std::ostream & operator<< (std::ostream &stream, OutputLatex type_output)
 
std::ostream & operator<< (std::ostream &stream, OutputJSONMachine type_output)
 
 RECORD_DECLARE_KEY (String)
 
 RECORD_DECLARE_KEY (Integer)
 
 RECORD_DECLARE_KEY (Double)
 
 RECORD_DECLARE_KEY (Bool)
 
 RECORD_DECLARE_KEY (FileName)
 
 RECORD_DECLARE_KEY (Selection)
 
 RECORD_DECLARE_KEY (Array)
 
 RECORD_DECLARE_KEY (Record)
 
 RECORD_DECLARE_KEY (AbstractRecord)
 
 RECORD_DECLARE_KEY (AdHocAbstractRecord)
 

Function Documentation

Input::Type::ARRAY_CONSTRUCT ( String  )
Input::Type::ARRAY_CONSTRUCT ( Integer  )
Input::Type::ARRAY_CONSTRUCT ( Double  )
Input::Type::ARRAY_CONSTRUCT ( Bool  )
Input::Type::ARRAY_CONSTRUCT ( FileName  )
Input::Type::ARRAY_CONSTRUCT ( Selection  )
Input::Type::ARRAY_CONSTRUCT ( Array  )
Input::Type::ARRAY_CONSTRUCT ( Record  )
Input::Type::ARRAY_CONSTRUCT ( AbstractRecord  )
Input::Type::DECLARE_EXCEPTION ( ExcWrongDefault  ,
<< "Default value "<< EI_DefaultStr::qval<< " do not match type: "<< EI_TypeName::qval<< ";\n"<< "During declaration of the key: "<< EI_KeyName::qval   
)
std::ostream & Input::Type::operator<< ( std::ostream &  stream,
const TypeBase &  type 
)

For convenience we provide also redirection operator for output documentation of Input:Type classes.

Definition at line 130 of file type_base.cc.

std::ostream & Input::Type::operator<< ( std::ostream &  stream,
OutputText  type_output 
)

Overrides output operator for simple output of the input type tree.

Definition at line 1542 of file type_output.cc.

std::ostream & Input::Type::operator<< ( std::ostream &  stream,
OutputJSONTemplate  type_output 
)

Definition at line 1548 of file type_output.cc.

std::ostream & Input::Type::operator<< ( std::ostream &  stream,
OutputLatex  type_output 
)

Definition at line 1554 of file type_output.cc.

std::ostream & Input::Type::operator<< ( std::ostream &  stream,
OutputJSONMachine  type_output 
)

Definition at line 1558 of file type_output.cc.

Input::Type::RECORD_DECLARE_KEY ( String  )
Input::Type::RECORD_DECLARE_KEY ( Integer  )
Input::Type::RECORD_DECLARE_KEY ( Double  )
Input::Type::RECORD_DECLARE_KEY ( Bool  )
Input::Type::RECORD_DECLARE_KEY ( FileName  )
Input::Type::RECORD_DECLARE_KEY ( Selection  )
Input::Type::RECORD_DECLARE_KEY ( Array  )
Input::Type::RECORD_DECLARE_KEY ( Record  )
Input::Type::RECORD_DECLARE_KEY ( AbstractRecord  )
Input::Type::RECORD_DECLARE_KEY ( AdHocAbstractRecord  )
Input::Type::TYPEDEF_ERR_INFO ( EI_KeyName  ,
const string   
)

Declaration of common exceptions and error info types.

Input::Type::TYPEDEF_ERR_INFO ( EI_DefaultStr  ,
const string   
)
Input::Type::TYPEDEF_ERR_INFO ( EI_TypeName  ,
const string   
)