X3DTK::SFString Class Reference
[base]

Class declared in <X3DTK/kernel.h> providing a string. More...

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

Class declared in <X3DTK/kernel.h> providing a string.

SFString is derived from std::string. Functions are added like the different conversions.


Constructor & Destructor Documentation

X3DTK::SFString::SFString  ) 
 

Default constructor.

X3DTK::SFString::SFString const char *  s  ) 
 

Conversion from char *.

X3DTK::SFString::SFString const unsigned char *  s  ) 
 

Conversion from char *.

X3DTK::SFString::SFString const std::string &  s  ) 
 

Conversion from std::string.

X3DTK::SFString::SFString const SFString s  ) 
 

Copy constructor.


Member Function Documentation

SFString X3DTK::SFString::getExtension  )  const
 

Returns the extension of the file.

SFString X3DTK::SFString::getFile  )  const
 

Returns the file of the string supposed to be a file.

SFString X3DTK::SFString::getName  )  const
 

Returns the name of the file, it means without the path and without the extension.

SFString X3DTK::SFString::getPath  )  const
 

Returns the path of the string supposed to be a file.

SFString X3DTK::SFString::lower  )  const
 

Returns a string that is the string converted to lowercase.

SFString X3DTK::SFString::number unsigned int  ui  )  [static]
 

Converts an unsigned integer to a SFString.

SFString X3DTK::SFString::number int  i  )  [static]
 

Converts an integer to a SFString.

SFString X3DTK::SFString::number double  d  )  [static]
 

Converts a double number to a SFString.

SFString X3DTK::SFString::number float  f  )  [static]
 

Converts a floating number to a SFString.

X3DTK::SFString::operator const char *  )  const
 

Conversion to char *.

double X3DTK::SFString::toDouble  )  const
 

Conversion to double.

float X3DTK::SFString::toFloat  )  const
 

Conversion to float.

int X3DTK::SFString::toInt  )  const
 

Conversion to int.

SFString X3DTK::SFString::toSFString  )  const
 

Returns the string.

unsigned int X3DTK::SFString::toUint  )  const
 

Conversion to unsigned int.

SFString X3DTK::SFString::upper  )  const
 

Returns a string that is the string converted to uppercase.


Generated on Fri Jul 30 12:02:34 2004 for X3DToolKit by doxygen 1.3.6