daeStringRef Class Reference

#include <daeStringRef.h>

List of all members.

Public Member Functions

DLLSPEC daeStringRef (daeString string)
 daeStringRef (const daeStringRef &other)
 daeStringRef ()
 operator daeString () const
DLLSPEC const daeStringRefoperator= (daeString string)
const daeStringRefoperator= (const daeStringRef &other)
bool operator== (const daeStringRef &other) const
DLLSPEC const daeStringRefset (daeString string)
 ~daeStringRef ()

Static Public Member Functions

static void releaseStringTable (void)

Static Private Member Functions

static daeStringTable_stringTable ()

Private Attributes

daeString _string

Detailed Description

Defines the daeStringRef class.

Definition at line 18 of file daeStringRef.h.


Constructor & Destructor Documentation

daeStringRef::~daeStringRef (  )  [inline]

Destructor

Definition at line 33 of file daeStringRef.h.

daeStringRef::daeStringRef (  )  [inline]

Constructor

Definition at line 38 of file daeStringRef.h.

daeStringRef::daeStringRef ( const daeStringRef other  )  [inline]

Constructor that copies from another daeStringRef.

Parameters:
other Reference to copy from.

Definition at line 44 of file daeStringRef.h.

DLLSPEC daeStringRef::daeStringRef ( daeString  string  ) 

Constructor that creates from a const char *.

Parameters:
string External string to create from.

Member Function Documentation

static daeStringTable& daeStringRef::_stringTable (  )  [static, private]
daeStringRef::operator daeString (  )  const [inline]

Cast operator that returns a const char *.

Definition at line 80 of file daeStringRef.h.

DLLSPEC const daeStringRef& daeStringRef::operator= ( daeString  string  ) 

Assignment operator from an external const char *.

Parameters:
string The daeString to copy.
Returns:
A reference to this object.
const daeStringRef& daeStringRef::operator= ( const daeStringRef other  )  [inline]

Assignment operator.

Parameters:
other The daeStringRef to copy.
Returns:
A reference to this object.

Definition at line 58 of file daeStringRef.h.

bool daeStringRef::operator== ( const daeStringRef other  )  const [inline]

Comparison operator, the comparison is done via pointers as both strings will have same pointer if they are the same address

Parameters:
other The daeStringRef to compare
Returns:
True if strings are equal. False otherwise.

Definition at line 88 of file daeStringRef.h.

static void daeStringRef::releaseStringTable ( void   )  [static]

Release string table...

DLLSPEC const daeStringRef& daeStringRef::set ( daeString  string  ) 

Sets a string from an external const char *.

Parameters:
string The daeString to copy.
Returns:
A reference to this object.

Member Data Documentation

Macro that defines new and delete overrides for this class

Definition at line 26 of file daeStringRef.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:29:16 2013