OSFI-C++  3.10.0
OpenSF Integration Library
base.h File Reference

OSFI-C++ header common to many classes in the ConFM module. More...

#include <string>
#include <vector>
#include <iosfwd>
#include <utility>
#include <cstdint>

Go to the source code of this file.

Classes

struct  osfi::confm::TimeValue
 
struct  osfi::confm::parsed_type< ElementType::INTEGER >
 
struct  osfi::confm::parsed_type< ElementType::FLOAT >
 
struct  osfi::confm::parsed_type< ElementType::BOOLEAN >
 
struct  osfi::confm::parsed_type< ElementType::STRING >
 
struct  osfi::confm::parsed_type< ElementType::FILE >
 
struct  osfi::confm::parsed_type< ElementType::FOLDER >
 
struct  osfi::confm::parsed_type< ElementType::TIME >
 

Namespaces

 osfi::confm
 

Macros

#define OSFI_DEPRECATED(reason)   [[deprecated(reason)]]
 
#define OSFI_RELOP_IMPL(op, T)
 

Typedefs

template<ElementType et>
using osfi::confm::parsed_type_t = typename parsed_type< et >::type
 

Enumerations

enum class  osfi::confm::ElementType {
  osfi::confm::INTEGER = 1 , osfi::confm::FLOAT , osfi::confm::BOOLEAN , osfi::confm::STRING ,
  osfi::confm::FILE , osfi::confm::FOLDER , osfi::confm::TIME
}
 

Functions

std::string osfi::confm::to_string (ElementType et)
 
ElementType osfi::confm::as_ElementType (const std::string &str)
 
std::string osfi::confm::to_string (const TimeValue &)
 
std::ostream & osfi::confm::operator<< (std::ostream &, const TimeValue &)
 
bool osfi::confm::operator== (const TimeValue &, const TimeValue &)
 
bool osfi::confm::operator< (const TimeValue &, const TimeValue &)
 
bool osfi::confm::operator!= (const TimeValue &a, const TimeValue &b)
 
bool osfi::confm::operator<= (const TimeValue &a, const TimeValue &b)
 
bool osfi::confm::operator>= (const TimeValue &a, const TimeValue &b)
 
bool osfi::confm::operator> (const TimeValue &a, const TimeValue &b)
 

Detailed Description

OSFI-C++ header common to many classes in the ConFM module.

Macro Definition Documentation

◆ OSFI_DEPRECATED

#define OSFI_DEPRECATED (   reason)    [[deprecated(reason)]]

A function that has been deprecated for some reason explained in the argument.

◆ OSFI_RELOP_IMPL

#define OSFI_RELOP_IMPL (   op,
 
)
Value:
inline bool operator op(const T& a, const T& b) { \
return std::rel_ops::operator op(a, b); \
}

Operators other than EQ and LT are implemented in reference to the main two using rel_ops