strusTrace  0.17
Classes | Public Types | Public Member Functions | List of all members
strus::TraceElement Struct Reference

Element type used to describe traced structures. Any atomic value or structure is described as sequence of trace elements. More...

#include <traceElement.hpp>

Classes

union  Value
 

Public Types

enum  Type {
  TypeVoid, TypeInt, TypeUInt, TypeDouble,
  TypeBool, TypeObject, TypeString, TypeOpenIndex,
  TypeOpenTag, TypeClose
}
 
typedef int64_t IntType
 
typedef uint64_t UIntType
 

Public Member Functions

Type type () const
 Get the element type. More...
 
Value value () const
 Get the element value. More...
 
 TraceElement ()
 Default constructor. More...
 
 TraceElement (IntType value_)
 Constructor. More...
 
 TraceElement (UIntType value_)
 Constructor. More...
 
 TraceElement (double value_)
 Constructor. More...
 
 TraceElement (float value_)
 Constructor. More...
 
 TraceElement (bool value_)
 Constructor. More...
 
 TraceElement (Type type_, std::size_t index_)
 Constructor. More...
 
 TraceElement (Type type_, TraceObjectId oid_, const char *cid_)
 
 TraceElement (Type type_, const char *ptr_, std::size_t size_)
 Constructor. More...
 
 TraceElement (Type type_, const char *ptr_)
 
 TraceElement (Type type_)
 
 TraceElement (const TraceElement &o)
 Copy constructor. More...
 

Detailed Description

Element type used to describe traced structures. Any atomic value or structure is described as sequence of trace elements.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
TypeVoid 
TypeInt 
TypeUInt 
TypeDouble 
TypeBool 
TypeObject 
TypeString 
TypeOpenIndex 
TypeOpenTag 
TypeClose 

Constructor & Destructor Documentation

strus::TraceElement::TraceElement ( )
inline

Default constructor.

strus::TraceElement::TraceElement ( IntType  value_)
inline

Constructor.

strus::TraceElement::TraceElement ( UIntType  value_)
inline

Constructor.

strus::TraceElement::TraceElement ( double  value_)
inline

Constructor.

strus::TraceElement::TraceElement ( float  value_)
inline

Constructor.

strus::TraceElement::TraceElement ( bool  value_)
inline

Constructor.

strus::TraceElement::TraceElement ( Type  type_,
std::size_t  index_ 
)
inline

Constructor.

strus::TraceElement::TraceElement ( Type  type_,
TraceObjectId  oid_,
const char *  cid_ 
)
inline
strus::TraceElement::TraceElement ( Type  type_,
const char *  ptr_,
std::size_t  size_ 
)
inline

Constructor.

strus::TraceElement::TraceElement ( Type  type_,
const char *  ptr_ 
)
inline
strus::TraceElement::TraceElement ( Type  type_)
inline
strus::TraceElement::TraceElement ( const TraceElement o)
inline

Copy constructor.

Member Function Documentation

Type strus::TraceElement::type ( ) const
inline

Get the element type.

Value strus::TraceElement::value ( ) const
inline

Get the element value.


The documentation for this struct was generated from the following file: