OSFI-C++
3.9.2
OpenSF Integration Library
|
Classes | |
struct | parsed_type |
struct | parsed_type< ElementType::BOOLEAN > |
struct | parsed_type< ElementType::FILE > |
struct | parsed_type< ElementType::FLOAT > |
struct | parsed_type< ElementType::FOLDER > |
struct | parsed_type< ElementType::INTEGER > |
struct | parsed_type< ElementType::STRING > |
struct | parsed_type< ElementType::TIME > |
struct | TimeValue |
Typedefs | |
template<ElementType et> | |
using | parsed_type_t = typename parsed_type< et >::type |
Enumerations | |
enum | ElementType { INTEGER = 1, FLOAT, BOOLEAN, STRING, FILE, FOLDER, TIME } |
Functions | |
std::string | to_string (ElementType et) |
ElementType | as_ElementType (const std::string &str) |
std::string | to_string (const TimeValue &) |
std::ostream & | operator<< (std::ostream &, const TimeValue &) |
bool | operator== (const TimeValue &a, const TimeValue &b) |
bool | operator< (const TimeValue &a, const TimeValue &b) |
Package bundling classes and routines related to the Configuration File Manager module of OSFI.
using osfi::confm::parsed_type_t = typedef typename parsed_type<et>::type |
Alias to use instead of parsed_type<et>::type
.
|
strong |
Parameter types described in the E2E-ICD Issue 1 Rev 2.2 section 2.2.6.2. Note that only element types are included; ARRAY and MATRIX types are detected and their element type is parsed.
ElementType osfi::confm::as_ElementType | ( | const std::string & | str | ) |
Conversion from a string to an ElementType value.
std::invalid_argument | if the string is not recognized as an element type name. |
Less-than operator. Use std::rel_ops to get the rest. Values are compared field by field from most to least significant. No adaptations are performed, so month=3 and dom=31 is less-than month=4 and dom=0.
std::ostream& osfi::confm::operator<< | ( | std::ostream & | , |
const TimeValue & | |||
) |
Insertion operator, formats output according to CCSDS ASCII time code A.
Equality comparison operator. Use std::rel_ops to get operator!=. Two instances are equal if all their field values are exactly equal. No conversions or adaptations are performed so month=4 and dom=0 is different from month=3 and dom=31.
std::string osfi::confm::to_string | ( | const TimeValue & | ) |
String conversion, uses the insertion operator to a string stream.
std::string osfi::confm::to_string | ( | ElementType | et | ) |
Conversion from an ElementType to a string.
std::invalid_argument | if the enum value is not recognized. |