Clarisse 5.0 SP8 SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
CoreLogStream Class Reference
Inheritance diagram for CoreLogStream:
CoreBaseObject CoreBaseType

Public Member Functions

const CoreStringget_string (void) const
unsigned int get_size (void) const
void clear (void)
CoreLogStreamoperator<< (void *value)
CoreLogStreamoperator<< (std::nullptr_t value)
CoreLogStreamoperator<< (const bool &value)
CoreLogStreamoperator<< (const char &value)
CoreLogStreamoperator<< (const unsigned char &value)
CoreLogStreamoperator<< (const short &value)
CoreLogStreamoperator<< (const unsigned short &value)
CoreLogStreamoperator<< (const int &value)
CoreLogStreamoperator<< (const unsigned int &value)
CoreLogStreamoperator<< (const long &value)
CoreLogStreamoperator<< (const unsigned long &value)
CoreLogStreamoperator<< (const long long &value)
CoreLogStreamoperator<< (const unsigned long long &value)
CoreLogStreamoperator<< (const float &value)
CoreLogStreamoperator<< (const double &value)
CoreLogStreamoperator<< (const char *value)
CoreLogStreamoperator<< (const CoreBasicString &value)
CoreLogStreamoperator<< (const CoreString &value)
CoreLogStreamoperator<< (const CoreVariant &value)
CoreLogStreamoperator<< (const CoreLogStream &stream)
template<typename T >
CoreLogStreamoperator<< (const CoreBasicArray< T > &array)
template<typename T >
CoreLogStreamoperator<< (const CoreList< T > &list)
template<class T , class U >
CoreLogStreamoperator<< (const CorePair< T, U > &pair)
- Public Member Functions inherited from CoreBaseObject
bool is_kindof (const CoreBaseObject &object) const
virtual size_t get_memory_size () const
CoreString get_class_info_name () const
const unsigned long & get_class_info_id () const
virtual bool is_kindof (const CoreClassInfo &cinfo) const
virtual const CoreClassInfoget_class_info () const
template<class T >
T * cast ()
template<class T >
const T * cast () const
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseObject
static const CoreClassInfoclass_info ()
template<class T >
static T * cast (CoreBaseObject *object)
template<class T >
static const T * cast (const CoreBaseObject *object)

Detailed Description

Helper logger for easier type conversion into log messages.

Member Function Documentation

void CoreLogStream::clear ( void  )

Reset the stream

unsigned int CoreLogStream::get_size ( void  ) const

Get the size of the stream's content

const CoreString & CoreLogStream::get_string ( void  ) const

Get the content of the stream as a string

template<typename T >
CoreLogStream & CoreLogStream::operator<< ( const CoreBasicArray< T > &  array)

Concatenate an array of element to the stream.

template<typename T >
CoreLogStream & CoreLogStream::operator<< ( const CoreList< T > &  list)

Concatenate a list of element to the stream.

template<class T , class U >
CoreLogStream & CoreLogStream::operator<< ( const CorePair< T, U > &  pair)

Log a pair in the form (first, second)