ifw-core 7.0.0
 
Loading...
Searching...
No Matches
ifw::core::dit::did::Header Class Reference

Data Interface Dictionary header class. More...

#include <header.hpp>

Public Member Functions

 Header ()
 
 ~Header ()
 
void Clear ()
 Reset the object.
 
void Parse (const elt::configng::CiiConfigDocument &did)
 Parse Parse/extract the fields of the DID header, contained in the string buffer.
 
std::string GetName () const
 Return (file)name, from where the dictionary was loaded.
 
std::string GetScope () const
 Return scope.
 
std::string GetDescription () const
 Return Description.
 
std::string ToString (const HdrField fields=HdrField::ALL, const bool compact=false) const
 Get string copy of one or more header fields.
 

Detailed Description

Data Interface Dictionary header class.

Constructor & Destructor Documentation

◆ Header()

ifw::core::dit::did::Header::Header ( )

◆ ~Header()

ifw::core::dit::did::Header::~Header ( )

Member Function Documentation

◆ Clear()

void ifw::core::dit::did::Header::Clear ( )

Reset the object.

◆ GetDescription()

std::string ifw::core::dit::did::Header::GetDescription ( ) const

Return Description.

◆ GetName()

std::string ifw::core::dit::did::Header::GetName ( ) const

Return (file)name, from where the dictionary was loaded.

◆ GetScope()

std::string ifw::core::dit::did::Header::GetScope ( ) const

Return scope.

◆ Parse()

void ifw::core::dit::did::Header::Parse ( const elt::configng::CiiConfigDocument & did)

Parse Parse/extract the fields of the DID header, contained in the string buffer.

Parameters
did_buf

◆ ToString()

std::string ifw::core::dit::did::Header::ToString ( const HdrField fields = HdrField::ALL,
const bool compact = false ) const

Get string copy of one or more header fields.

Parameters
fieldsHeader fields to return.
Returns
Buffer with header fields, separated with newline if multiple requested.

The documentation for this class was generated from the following files: