ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
FrameCPP::Common::STRING< L > Class Template Reference

#include <STRING.hh>

Public Types

typedef L length_type
 
typedef std::string::value_type char_type
 

Public Member Functions

 STRING ()
 
 STRING (const std::string &Value)
 
 STRING (const char *Value)
 
 STRING (const char *Value, size_t Length)
 
cmn_streamsize_type Bytes () const
 
STRINGoperator= (const std::string &Source)
 
STRINGoperator= (const char *Source)
 
void Read (IStream &Stream)
 
void Write (OStream &Stream) const
 
 STRING ()
 
 STRING (const std::string &Value)
 
 STRING (const char *Value)
 
 STRING (const char *Value, size_t Length)
 
cmn_streamsize_type Bytes () const
 
STRINGoperator= (const std::string &Source)
 
STRINGoperator= (const char *Source)
 
void Read (IStream &Stream)
 
void Write (OStream &Stream) const
 

Static Public Member Functions

static cmn_streamsize_type Bytes (const std::string &String)
 
static void Read (IStream &Stream, std::string &Source)
 
static void Write (OStream &Stream, const std::string &Source)
 
static cmn_streamsize_type Bytes (const std::string &String)
 
static void Read (IStream &Stream, std::string &Source)
 
static void Write (OStream &Stream, const std::string &Source)
 

Static Public Attributes

static const length_type MAX_STRING_LENGTH = ~( L( 0 ) )
 

Static Private Member Functions

static void length_error (const std::string &Value)
 
static void length_error (const char *Value)
 
static void length_error (const std::string &Value)
 
static void length_error (const char *Value)
 

Member Typedef Documentation

◆ char_type

template<class L >
typedef std::string::value_type STRING::char_type

◆ length_type

template<class L >
typedef L STRING::length_type

Constructor & Destructor Documentation

◆ STRING() [1/8]

template<class L >
STRING::STRING ( )

◆ STRING() [2/8]

template<class L >
STRING::STRING ( const std::string & Value)

◆ STRING() [3/8]

template<class L >
STRING::STRING ( const char * Value)

◆ STRING() [4/8]

template<class L >
STRING::STRING ( const char * Value,
size_t Length )

◆ STRING() [5/8]

template<class L >
FrameCPP::Common::STRING< L >::STRING ( )

◆ STRING() [6/8]

template<class L >
FrameCPP::Common::STRING< L >::STRING ( const std::string & Value)

◆ STRING() [7/8]

template<class L >
FrameCPP::Common::STRING< L >::STRING ( const char * Value)

◆ STRING() [8/8]

template<class L >
FrameCPP::Common::STRING< L >::STRING ( const char * Value,
size_t Length )

Member Function Documentation

◆ Bytes() [1/4]

template<class L >
cmn_streamsize_type STRING::Bytes ( ) const
inline

◆ Bytes() [2/4]

template<class L >
cmn_streamsize_type FrameCPP::Common::STRING< L >::Bytes ( ) const

◆ Bytes() [3/4]

template<class L >
cmn_streamsize_type STRING::Bytes ( const std::string & String)
inlinestatic

◆ Bytes() [4/4]

template<class L >
static cmn_streamsize_type FrameCPP::Common::STRING< L >::Bytes ( const std::string & String)
static

◆ length_error() [1/4]

template<class L >
void STRING::length_error ( const char * Value)
inlinestaticprivate

◆ length_error() [2/4]

template<class L >
static void FrameCPP::Common::STRING< L >::length_error ( const char * Value)
staticprivate

◆ length_error() [3/4]

template<class L >
void STRING::length_error ( const std::string & Value)
inlinestaticprivate

◆ length_error() [4/4]

template<class L >
static void FrameCPP::Common::STRING< L >::length_error ( const std::string & Value)
staticprivate

◆ operator=() [1/4]

template<class L >
STRING< L > & STRING::operator= ( const char * Source)

◆ operator=() [2/4]

template<class L >
STRING & FrameCPP::Common::STRING< L >::operator= ( const char * Source)

◆ operator=() [3/4]

template<class L >
STRING< L > & STRING::operator= ( const std::string & Source)

◆ operator=() [4/4]

template<class L >
STRING & FrameCPP::Common::STRING< L >::operator= ( const std::string & Source)

◆ Read() [1/4]

template<class L >
void STRING::Read ( IStream & Stream)
inline

◆ Read() [2/4]

template<class L >
void FrameCPP::Common::STRING< L >::Read ( IStream & Stream)

◆ Read() [3/4]

template<class L >
void STRING::Read ( IStream & Stream,
std::string & Source )
inlinestatic

◆ Read() [4/4]

template<class L >
static void FrameCPP::Common::STRING< L >::Read ( IStream & Stream,
std::string & Source )
static

◆ Write() [1/4]

template<class L >
void STRING::Write ( OStream & Stream) const
inline

◆ Write() [2/4]

template<class L >
void FrameCPP::Common::STRING< L >::Write ( OStream & Stream) const

◆ Write() [3/4]

template<class L >
void STRING::Write ( OStream & Stream,
const std::string & Source )
inlinestatic

◆ Write() [4/4]

template<class L >
static void FrameCPP::Common::STRING< L >::Write ( OStream & Stream,
const std::string & Source )
static

Member Data Documentation

◆ MAX_STRING_LENGTH

template<class L >
const L STRING::MAX_STRING_LENGTH = ~( L( 0 ) )
static

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