ldas-tools-framecpp  2.6.2
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
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
 

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 Public Attributes

static const length_type MAX_STRING_LENGTH
 

Member Typedef Documentation

◆ char_type

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

◆ length_type

template<class L>
typedef L FrameCPP::Common::STRING< L >::length_type

Constructor & Destructor Documentation

◆ STRING() [1/4]

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

◆ STRING() [2/4]

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

◆ STRING() [3/4]

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

◆ STRING() [4/4]

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

Member Function Documentation

◆ Bytes() [1/2]

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

◆ Bytes() [2/2]

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ Read() [1/2]

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

◆ Read() [2/2]

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

◆ Write() [1/2]

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

◆ Write() [2/2]

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

Member Data Documentation

◆ MAX_STRING_LENGTH

template<class L>
const L FrameCPP::Common::STRING< L >::MAX_STRING_LENGTH
static
Initial value:
=
~( L( 0 ) )

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