GNU CommonC++
ost::AppLog::Ident Class Reference

Ident class that represents module name. More...

#include <applog.h>

Public Member Functions

 Ident ()
 Constructor.
 ~Ident ()
 Desctructor.
 Ident (Ident &id)
 Copy constructor.
 Ident (const char *str)
 const char* constructor, provided for convenience.
std::string & str ()
 std::string cast.
Identoperator= (std::string &st)
 Assignment operator (string).
Identoperator= (const char str[])
 Assignment operator (const char[]), provided for convenience.
const char * c_str ()
 const char* cast provided for conveneince.

Detailed Description

Ident class that represents module name.

Constructor & Destructor Documentation

◆ Ident() [1/3]

ost::AppLog::Ident::Ident ( )
inline

Constructor.

Referenced by Ident(), operator=(), and operator=().

◆ ~Ident()

ost::AppLog::Ident::~Ident ( )
inline

Desctructor.

◆ Ident() [2/3]

ost::AppLog::Ident::Ident ( Ident & id)
inline

Copy constructor.

References Ident().

◆ Ident() [3/3]

ost::AppLog::Ident::Ident ( const char * str)
inline

const char* constructor, provided for convenience.

References str().

Member Function Documentation

◆ c_str()

const char * ost::AppLog::Ident::c_str ( )
inline

const char* cast provided for conveneince.

Referenced by ost::AppLog::operator()(), and ost::AppLog::operator<<().

◆ operator=() [1/2]

Ident & ost::AppLog::Ident::operator= ( const char str[])
inline

Assignment operator (const char[]), provided for convenience.

References Ident(), and str().

◆ operator=() [2/2]

Ident & ost::AppLog::Ident::operator= ( std::string & st)
inline

Assignment operator (string).

References Ident().

◆ str()

std::string & ost::AppLog::Ident::str ( )
inline

std::string cast.

Referenced by Ident(), and operator=().


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