B2BITS FIX Antenna C++ 2.32.0
|
FIX Antenna Utils framework. More...
Namespaces | |
namespace | Log |
Logging system namespace. | |
Classes | |
class | AutoPtr |
std::auto_ptr analogue with ability to delete object by object's method. More... | |
class | AutoPtr2 |
std::auto_ptr analogue with ability to delete object by object's method. More... | |
struct | ConstMethodResolver |
Returns pointer to the mutable method of the class. More... | |
struct | ConstMethodResolver< const T > |
Returns pointer to the const method of the class. More... | |
class | CTGuard |
class | Emptily |
Represents entity with two states - initialized and not initialized. More... | |
class | EmptyValue |
Class for empty value. More... | |
class | Exception |
Generic application exception. More... | |
class | Guard |
This template class employs a C++ idiom (described by Bjarne Stroustrup) that uses the constructor to acquire a resource automatically when an object of the class is created and uses the destructor to release the resource automatically when it goes out of scope. More... | |
class | InvalidParameterException |
Invalid parameter Exception. More... | |
class | MethodPtr0 |
class | MethodPtr1 |
class | MethodPtr2 |
class | MethodPtr3 |
class | NullableValue |
Represents entity with three states - undefined, empty and assigned. More... | |
class | ReferenceCounter |
A generic reference counter. More... | |
class | ReferenceCounterSharedPtr |
class | StringUtils |
Encapsulates generic std::string processing methods. More... | |
class | StringUtils< char > |
Encapsulates ASCII std::string processing methods. More... | |
class | StringUtils< wchar_t > |
Encapsulates Unicode std::string processing methods. More... | |
class | UndefinedValue |
Class for undefined value. More... | |
class | Unlocker |
Used to temporary unlock mutex Unlocker<Mutex> unlocker (lock_); // guard constructor releases m_lock. More... | |
Enumerations | |
enum | ValueState { vsUndefined , vsEmpty , vsAssigned } |
Enumerates state of the NullableValue. More... | |
Functions | |
System::i64 V12_API | atoi64 (const char *str) throw () |
Converts a string to a 64-bit integer. | |
template<typename return_t , typename T , typename T2 > | |
MethodPtr0< return_t > | bind (return_t(*func)(T *), T2 *pthis) throw () |
template<typename return_t , typename T , typename T2 , typename arg1_t , typename arg2_t > | |
MethodPtr2< return_t, arg1_t, arg2_t > | bind (return_t(*func)(T *, arg1_t, arg2_t), T2 *pthis) throw () |
template<typename return_t , typename T , typename T2 , typename arg1_t , typename arg2_t , typename arg3_t > | |
MethodPtr3< return_t, arg1_t, arg2_t, arg3_t > | bind (return_t(*func)(T *, arg1_t, arg2_t, arg3_t), T2 *pthis) throw () |
template<typename return_t , typename T , typename arg_t , typename T2 > | |
MethodPtr1< return_t, arg_t > | bind (return_t(*func)(T *, arg_t), T2 *pthis) throw () |
template<typename T > | |
void | deleteObject (T const *obj) |
Destroys object using operator delete. | |
template<typename T > | |
void | destroyObject (T const *obj) |
Destroys object using release method. | |
template<class Elem , class Traits , typename T > | |
std::basic_ostream< Elem, Traits > & | operator<< (std::basic_ostream< Elem, Traits > &s, const NullableValue< T > &rv) |
template<typename T > | |
std::ostream & | operator<< (std::ostream &s, const Emptily< T > &rv) |
template<typename T > | |
void | releaseNonConstObject (T const *obj) |
Destroys object using release method. | |
template<typename T > | |
void | releaseObject (T const *obj) |
Destroys object using release method. | |
int V12_API | stricmp (const char *string1, const char *string2) throw () |
Performs a lowercase comparison of strings. | |
int V12_API | strnicmp (const char *string1, const char *string2, std::size_t count) throw () |
This function is called to make a case-insensitive comparison of two ANSI strings. | |
int V12_API | strtoi (const char *str, std::size_t size) throw () |
Converts a string to a 16-bit integer. | |
System::i16 V12_API | strtoi16 (const char *str, std::size_t size) throw () |
Converts a string to a 16-bit integer. | |
System::i32 V12_API | strtoi32 (const char *str, std::size_t size) throw () |
Converts a string to a 32-bit integer. | |
System::i64 V12_API | strtoi64 (const char *str, std::size_t size) throw () |
Converts a string to a 64-bit integer. | |
unsigned int V12_API | strtou (const char *str, std::size_t size) throw () |
Converts a string to a 16-bit integer. | |
System::u16 V12_API | strtou16 (const char *str, std::size_t size) throw () |
Converts a string to a 16-bit unsigned integer. | |
System::u32 V12_API | strtou32 (const char *str, std::size_t size) throw () |
Converts a string to a 32-bit unsigned integer. | |
System::u64 V12_API | strtou64 (const char *str, std::size_t size) throw () |
Converts a string to a 64-bit unsigned integer. | |
template<typename T > | |
void | swap (T &a, T &b) |
int V12_API | wstrnicmp (const wchar_t *string1, const wchar_t *string2, std::size_t count) throw () |
Compare characters of two strings without regard to case. | |
int V12_API | wstrtoi (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 16-bit integer. | |
int V12_API | wstrtoi (const wchar_t *string) throw () |
Converts a wide-character std::string to an integer. | |
System::i16 V12_API | wstrtoi16 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 16-bit integer. | |
System::i32 V12_API | wstrtoi32 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 32-bit integer. | |
System::i64 V12_API | wstrtoi64 (const wchar_t *str) throw () |
Converts a string to a 64-bit integer. | |
System::i64 V12_API | wstrtoi64 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 64-bit integer. | |
unsigned int V12_API | wstrtou (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 16-bit unsigned integer. | |
System::u16 V12_API | wstrtou16 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 16-bit unsigned integer. | |
System::u32 V12_API | wstrtou32 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 32-bit unsigned integer. | |
System::u64 V12_API | wstrtou64 (const wchar_t *str, std::size_t size) throw () |
Converts a string to a 64-bit unsigned integer. | |
Variables | |
EmptyValue | empty |
Represents empty value. | |
UndefinedValue | undefined |
Represents undefined value. | |
enum Utils::ValueState |
Enumerates state of the NullableValue.
Enumerator | |
---|---|
vsUndefined | |
vsEmpty | |
vsAssigned |
System::i64 V12_API Utils::atoi64 | ( | const char * | str | ) | ||
throw | ( | ) |
Converts a string to a 64-bit integer.
Referenced by Utils::StringUtils< char >::toInt64().
MethodPtr0< return_t > Utils::bind | ( | return_t(*)(T *) | func, | |||
T2 * | pthis ) | |||||
throw | ( | ) |
MethodPtr2< return_t, arg1_t, arg2_t > Utils::bind | ( | return_t(*)(T *, arg1_t, arg2_t) | func, | |||
T2 * | pthis ) | |||||
throw | ( | ) |
MethodPtr3< return_t, arg1_t, arg2_t, arg3_t > Utils::bind | ( | return_t(*)(T *, arg1_t, arg2_t, arg3_t) | func, | |||
T2 * | pthis ) | |||||
throw | ( | ) |
MethodPtr1< return_t, arg_t > Utils::bind | ( | return_t(*)(T *, arg_t) | func, | |||
T2 * | pthis ) | |||||
throw | ( | ) |
|
inline |
Destroys object using operator delete.
|
inline |
Destroys object using release method.
|
inline |
|
inline |
References Utils::Emptily< T >::isEmpty().
|
inline |
Destroys object using release method.
|
inline |
Destroys object using release method.
Referenced by std::default_delete< Engine::FixFieldsContainer >::operator()(), and std::default_delete< Engine::Session >::operator()().
int V12_API Utils::stricmp | ( | const char * | string1, | |||
const char * | string2 ) | |||||
throw | ( | ) |
Performs a lowercase comparison of strings.
int V12_API Utils::strnicmp | ( | const char * | string1, | |||
const char * | string2, | |||||
std::size_t | count ) | |||||
throw | ( | ) |
This function is called to make a case-insensitive comparison of two ANSI strings.
Referenced by Utils::StringUtils< char >::strnicmp().
int V12_API Utils::strtoi | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit integer.
Referenced by Utils::StringUtils< char >::toInt().
System::i16 V12_API Utils::strtoi16 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit integer.
Referenced by Utils::StringUtils< char >::toInt16().
System::i32 V12_API Utils::strtoi32 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 32-bit integer.
Referenced by Utils::StringUtils< char >::toInt32().
System::i64 V12_API Utils::strtoi64 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 64-bit integer.
Referenced by Utils::StringUtils< char >::toInt64().
unsigned int V12_API Utils::strtou | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit integer.
Referenced by Utils::StringUtils< char >::toUInt().
System::u16 V12_API Utils::strtou16 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit unsigned integer.
Referenced by Utils::StringUtils< char >::toUInt16().
System::u32 V12_API Utils::strtou32 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 32-bit unsigned integer.
Referenced by Utils::StringUtils< char >::toUInt32().
System::u64 V12_API Utils::strtou64 | ( | const char * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 64-bit unsigned integer.
Referenced by Utils::StringUtils< char >::toUInt64().
void Utils::swap | ( | T & | a, |
T & | b ) |
int V12_API Utils::wstrnicmp | ( | const wchar_t * | string1, | |||
const wchar_t * | string2, | |||||
std::size_t | count ) | |||||
throw | ( | ) |
Compare characters of two strings without regard to case.
Referenced by Utils::StringUtils< wchar_t >::strnicmp().
int V12_API Utils::wstrtoi | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit integer.
int V12_API Utils::wstrtoi | ( | const wchar_t * | string | ) | ||
throw | ( | ) |
Converts a wide-character std::string to an integer.
Referenced by Utils::StringUtils< wchar_t >::toInt(), and Utils::StringUtils< wchar_t >::toInt32().
System::i16 V12_API Utils::wstrtoi16 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit integer.
Referenced by Utils::StringUtils< wchar_t >::toInt16().
System::i32 V12_API Utils::wstrtoi32 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 32-bit integer.
Referenced by Utils::StringUtils< wchar_t >::toInt32().
System::i64 V12_API Utils::wstrtoi64 | ( | const wchar_t * | str | ) | ||
throw | ( | ) |
Converts a string to a 64-bit integer.
Referenced by Utils::StringUtils< wchar_t >::toInt64(), and Utils::StringUtils< wchar_t >::toInt64().
System::i64 V12_API Utils::wstrtoi64 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 64-bit integer.
unsigned int V12_API Utils::wstrtou | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit unsigned integer.
Referenced by Utils::StringUtils< wchar_t >::toUInt().
System::u16 V12_API Utils::wstrtou16 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 16-bit unsigned integer.
Referenced by Utils::StringUtils< wchar_t >::toUInt16().
System::u32 V12_API Utils::wstrtou32 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 32-bit unsigned integer.
Referenced by Utils::StringUtils< wchar_t >::toUInt32().
System::u64 V12_API Utils::wstrtou64 | ( | const wchar_t * | str, | |||
std::size_t | size ) | |||||
throw | ( | ) |
Converts a string to a 64-bit unsigned integer.
Referenced by Utils::StringUtils< wchar_t >::toUInt64().
|
extern |
Represents empty value.
|
extern |
Represents undefined value.