COLLADA 1.4 DOM: daeStringRef Class Reference

COLLADA

daeStringRef Class Reference

#include <daeStringRef.h>

Collaboration diagram for daeStringRef:

Collaboration graph
[legend]
List of all members.

Detailed Description

Defines the daeStringRef class.

Public Member Functions

 ~daeStringRef ()
 Destructor.
 daeStringRef ()
 Constructor.
 daeStringRef (const daeStringRef &other)
 Constructor that copies from another daeStringRef.
 daeStringRef (daeString string)
 Constructor that creates from a const char *.
const daeStringRefoperator= (const daeStringRef &other)
 Assignment operator.
const daeStringRefset (daeString string)
 Sets a string from an external const char *.
const daeStringRefoperator= (daeString string)
 Assignment operator from an external const char *.
 operator daeString () const
 Cast operator that returns a const char *.
bool operator== (const daeStringRef &other) const
 Comparison operator, the comparison is done via pointers as both strings will have same pointer if they are the same address.

Public Attributes

 DAE_ALLOC
 Macro that defines new and delete overrides for this class.

Constructor & Destructor Documentation

daeStringRef::daeStringRef const daeStringRef other  )  [inline]
 

Constructor that copies from another daeStringRef.

Parameters:
other Reference to copy from.

daeStringRef::daeStringRef daeString  string  ) 
 

Constructor that creates from a const char *.

Parameters:
string External string to create from.


Member Function Documentation

daeStringRef::operator daeString  )  const [inline]
 

Cast operator that returns a const char *.

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.

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.

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.


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/dae/daeStringRef.h
  • C:/SVN_wf/COLLADA_DOM/src/dae/daeStringRef.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:04 2006 for COLLADA 1.4 DOM by doxygen 1.4.3