FormatStatement Class Reference

#include <string.h>

Detailed Description

Class to store formatting statements.

Public Member Functions

 FormatStatement ()
 
 FormatStatement (const FormatStatement &str)
 
 ~FormatStatement ()
 
const CString Get (const Char *identifier) const
 
Result< void > Set (const Char *identifier, const CString &str)
 
const FormatStatementoperator= (const FormatStatement &str)
 

Private Attributes

void * _priv
 

Constructor & Destructor Documentation

◆ FormatStatement() [1/2]

◆ FormatStatement() [2/2]

FormatStatement ( const FormatStatement str)

◆ ~FormatStatement()

Member Function Documentation

◆ Get()

const CString Get ( const Char identifier) const

Returns the data stored under an identifier.

Parameters
[in]identifierThe name of the identifier.
Returns
The stored value that belongs to the identifier.

◆ Set()

Result<void> Set ( const Char identifier,
const CString str 
)

Stores data under an identifier.

Parameters
[in]identifierThe name of the identifier.
[in]strThe value to be stored.

◆ operator=()

const FormatStatement& operator= ( const FormatStatement str)

Member Data Documentation

◆ _priv

void* _priv
private