B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Namespaces | Classes | Enumerations | Functions | Variables
Utils Namespace Reference

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  NullableValue
 Represents entity with three states - undefined, empty and assigned. More...
 
class  ReferenceCounter
 A generic reference counter. More...
 
class  ReferenceCounterSharedPtr
 
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

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.
 

Variables

EmptyValue empty
 Represents empty value.
 
UndefinedValue undefined
 Represents undefined value.
 

Detailed Description

FIX Antenna Utils framework.

Utility namespace.

Useful classes and methods.

Enumeration Type Documentation

◆ ValueState

Enumerates state of the NullableValue.

Enumerator
vsUndefined 
vsEmpty 
vsAssigned 

Function Documentation

◆ deleteObject()

template<typename T >
void Utils::deleteObject ( T const * obj)
inline

Destroys object using operator delete.

◆ destroyObject()

template<typename T >
void Utils::destroyObject ( T const * obj)
inline

Destroys object using release method.

◆ operator<<() [1/2]

template<class Elem , class Traits , typename T >
std::basic_ostream< Elem, Traits > & Utils::operator<< ( std::basic_ostream< Elem, Traits > & s,
const NullableValue< T > & rv )
inline

◆ operator<<() [2/2]

template<typename T >
std::ostream & Utils::operator<< ( std::ostream & s,
const Emptily< T > & rv )
inline

◆ releaseNonConstObject()

template<typename T >
void Utils::releaseNonConstObject ( T const * obj)
inline

Destroys object using release method.

◆ releaseObject()

template<typename T >
void Utils::releaseObject ( T const * obj)
inline

Variable Documentation

◆ empty

EmptyValue Utils::empty
extern

Represents empty value.

◆ undefined

UndefinedValue Utils::undefined
extern

Represents undefined value.