ifw-core 6.0.0
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
defines.hpp File Reference
#include <string>
#include <log4cplus/logger.h>
#include <log4cplus/loggingmacros.h>
#include <log4cplus/version.h>
#include <log4cplus/configurator.h>
#include <boost/regex.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <fmt/format.h>
#include <ciiLogManager.hpp>
#include <config-ng/ciiConfigApi.hpp>
#include <rad/logger.hpp>
#include <rad/exceptions.hpp>

Go to the source code of this file.

Namespaces

namespace  ifw
 
namespace  ifw::core
 
namespace  ifw::core::dit
 
namespace  ifw::core::dit::did
 

Enumerations

enum class  ifw::core::dit::did::HdrField { ifw::core::dit::did::NAME = 1 , ifw::core::dit::did::SCOPE = 2 , ifw::core::dit::did::DESCRIPTION = 4 , ifw::core::dit::did::ALL = (NAME | SCOPE | DESCRIPTION) }
 Dictionary header field types. More...
 
enum class  ifw::core::dit::did::DataType {
  ifw::core::dit::did::BOOL = 1 , ifw::core::dit::did::DOUBLE = 2 , ifw::core::dit::did::INTEGER = 4 , ifw::core::dit::did::STRING = 8 ,
  ifw::core::dit::did::ALL = (BOOL | DOUBLE | INTEGER | STRING)
}
 Dictionary data types. More...
 
enum class  ifw::core::dit::did::RecField {
  ifw::core::dit::did::FORMAT = 1 , ifw::core::dit::did::UNIT = 2 , ifw::core::dit::did::COMMENT = 4 , ifw::core::dit::did::DESCRIPTION = 8 ,
  ifw::core::dit::did::TYPE = 128 , ifw::core::dit::did::ALL = (FORMAT | UNIT | COMMENT | DESCRIPTION | TYPE)
}
 Dictionary keyword record field types. More...
 

Functions

log4cplus::Logger & ifw::core::dit::did::Logger ()
 
DataType ifw::core::dit::did::DataTypeToNum (const std::string &type)
 Map type from string to numeric representation.
 
std::string ifw::core::dit::did::DataTypeToStr (const DataType type)
 Map type from numeric to string representation.
 
std::string ifw::core::dit::did::RecFieldToStr (const RecField field)
 Map record field from numeric to string representation.
 
RecField ifw::core::dit::did::RecFieldToNum (const std::string &field)
 Map record field from string to numeric representation.
 

Variables

const std::string ifw::core::dit::did::DID_SCHEMA_INCLUDE = "!cfg.include schema/ifw/core/dit/did/did.schema.yaml"
 
const std::string ifw::core::dit::did::HDR_TAG = "header"
 
const std::string ifw::core::dit::did::HDR_FIELD_NAME = "name"
 
const std::string ifw::core::dit::did::HDR_FIELD_SCOPE = "scope"
 
const std::string ifw::core::dit::did::HDR_FIELD_DESCRIPTION = "description"
 
const std::map< HdrField, std::string > ifw::core::dit::did::HDR_FIELDS_NB_MAP
 
const std::map< std::string, HdrFieldifw::core::dit::did::HDR_FIELDS_NAME_MAP
 
const std::string ifw::core::dit::did::REC_TYPE_BOOL = "DidBoolKey"
 
const std::string ifw::core::dit::did::REC_TYPE_DOUBLE = "DidDblKey"
 
const std::string ifw::core::dit::did::REC_TYPE_INTEGER = "DidIntKey"
 
const std::string ifw::core::dit::did::REC_TYPE_STRING = "DidStrKey"
 
const std::string ifw::core::dit::did::REC_FIELD_FORMAT = "format"
 
const std::string ifw::core::dit::did::REC_FIELD_UNIT = "unit"
 
const std::string ifw::core::dit::did::REC_FIELD_COMMENT = "comment"
 
const std::string ifw::core::dit::did::REC_FIELD_DESCRIPTION = "description"
 
const std::string ifw::core::dit::did::REC_FIELD_TYPE = "type"