|
B2BITS FIX Antenna HFT
1.0.17
|
Represents ASCII std::string. More...
#include <B2BITS_String.h>
Inheritance diagram for Engine::BasicString< CharType >:
Collaboration diagram for Engine::BasicString< CharType >:Public Types | |
| typedef BasicString< value_type > | MyT |
| typedef CharType | value_type |
| Provides access to the template parameter. More... | |
Public Types inherited from Engine::MemBlock< CharType > | |
| typedef CharType | value_type |
| Provides access to the template parameter. More... | |
Public Member Functions | |
| BasicString () throw () | |
| Default constructor. More... | |
| BasicString (const value_type *aData, size_t aSize) throw () | |
| Constructor Constructs instance from address to memory and size. More... | |
| BasicString (std::basic_string< CharType > const &str) throw () | |
| Constructor Constructs instance from std::basic_string. More... | |
| BasicString (value_type const *aData) throw () | |
| Constructor Constructs instance from ANSI std::string. More... | |
| int | compareTo (BasicString rv) const throw () |
| Compares the current string with the passed one. More... | |
| bool | equals (BasicString rv) const throw () |
| Returns true if strings are equal. More... | |
| std::basic_string< value_type > | toStdString () const |
| Converts AsciiString to std::string. More... | |
| std::basic_string< value_type > | toString () const |
| Converts AsciiString to std::string This method creates copy of the stored buffer and returns it as std::string. More... | |
Public Member Functions inherited from Engine::MemBlock< CharType > | |
| value_type const * | begin () const throw () |
| Returns pointer to first character. More... | |
| int | compareTo (MemBlock rv) const throw () |
| Compares two MemBlock. More... | |
| value_type const * | data () const throw () |
| Returns pointer to the first character of the block. More... | |
| value_type const * | end () const throw () |
| Returns pointer to the next after last character. More... | |
| MemBlock (const value_type *aData, size_t aSize) throw () | |
| Constructor Constructs instance from address to memory and size. More... | |
| MemBlock () throw () | |
| Default constructor. More... | |
| value_type const & | operator[] (size_t index) const throw () |
| Indexer. More... | |
| size_t | size () const throw () |
| Returns size of the block. More... | |
Static Public Member Functions | |
| template<int N> | |
| static MyT | fromStr (value_type const (&aData)[N]) throw () |
| Constructor Creates instance from array of char. More... | |
Represents ASCII std::string.
| typedef BasicString<value_type> Engine::BasicString< CharType >::MyT |
| typedef CharType Engine::BasicString< CharType >::value_type |
Provides access to the template parameter.
|
inline | |||||||||||||
Default constructor.
|
inline | ||||||||||||||||||||
Constructor Constructs instance from address to memory and size.
| aData | address to the block |
| aSize | size of the block |
|
inline | ||||||||||||||
Constructor Constructs instance from std::basic_string.
| str | Source std::string |
|
inline | ||||||||||||||
Constructor Constructs instance from ANSI std::string.
| aData | address to the ASCII std::string |
|
inline | ||||||||||||||
Compares the current string with the passed one.
References Engine::MemBlock< T >::compareTo().
Referenced by Engine::BasicString< CharType >::equals().
|
inline | ||||||||||||||
Returns true if strings are equal.
References Engine::BasicString< CharType >::compareTo().
|
inlinestatic | ||||||||||||||
Constructor Creates instance from array of char.
Creates instance from array of char
| aData | Array of chars |
|
inline |
Converts AsciiString to std::string.
This method creates copy of the stored buffer and returns it as std::string.
References Engine::MemBlock< CharType >::data(), and Engine::MemBlock< CharType >::size().
Referenced by B3BinaryMapping::convertSessionLevelMsgToBinary(), B3::createMessage(), ILink3V5::createMessage(), ILink3V7::createMessage(), ILink3::createMessage(), fixToBin_InvestorID(), Parser::IncorrectCheckSumException::IncorrectCheckSumException(), B3::toStdString(), ILink3V7::toStdString(), ILink3V5::toStdString(), ILink3::toStdString(), and CMI::toStdString().
|
inline |
Converts AsciiString to std::string This method creates copy of the stored buffer and returns it as std::string.
References Engine::MemBlock< CharType >::data(), and Engine::MemBlock< CharType >::size().
1.8.5