API Reference > Other Classes > OdString Class
OdString Class
OdStringOdString
Syntax
C++
class OdString;

OdString.h

This class implements character String objects in the ODA Platform.

OdString objects use zero-based indices to access string elements. 

 

 
Name 
Description 
 
This is ~OdString, a member of class OdString. 
 
This is the overview for the OdString constructor overload. 
 
Name 
Description 
 
This is kEmpty, a member of class OdString. 
 
Name 
Description 
 
Returns the underlying OdChar array (buffer) of this String object. 
 
This is collate, a member of class OdString. 
 
This is the overview for the compare method overload. 
 
Deletes the specified number characters from this String object.
 
 
Sets this String object to the empty string. 
 
find 
This is the overview for the find method overload. 
 
This is the overview for the findOneOf method overload. 
 
This is the overview for the format method overload. 
 
This is the overview for the formatV method overload. 
 
Releases any unused memory allocated by this String object. 
 
Returns the number of characters allocated for the underlying OdChar array (buffer) in this String object. 
 
Returns the single character of this String object at the specified position.  
 
Returns a modifiable C style OdChar array (buffer) of the specified minimum length for this String object.  
 
Returns a modifiable C style OdChar array (buffer) of of the specified length for this String object.  
 
Returns the number of characters in this String object. 
 
This is getLengthA, a member of class OdString. 
 
This is iCollate, a member of class OdString. 
 
This is the overview for the iCompare method overload. 
 
This is the overview for the insert method overload. 
 
Returns true and only if this String object is empty. 
 
left 
Returns the leftmost substring of the specified length from this String object.  
 
Enables reference counting for this String object. 
 
Converts this String object to lower case. 
 
Reverses this String object. 
 
Converts this String object to upper case. 
 
mid 
This is the overview for the mid method overload. 
 
Assures the character buffer of this String object is at least the specified size.  
 
Releases a buffer obtained by getBuffer() or getBufferSetLength(), and sets its length.  
 
Removes all occurrences of the specified character from this String object.
 
 
This is the overview for the replace method overload. 
 
This is the overview for the reverseFind method overload. 
 
Returns the rightmost substring of the specified length from this String object.  
 
Sets the single character of this String object at the specified position.  
 
This is the overview for the spanExcluding method overload. 
 
This is the overview for the spanIncluding method overload. 
 
This is the overview for the trimLeft method overload. 
 
This is the overview for the trimRight method overload. 
 
Disables reference counting for this String object. 
 
Name 
Description 
 
[] 
Indexing Operator 
 
+= 
This is the overview for the += operator overload. 
 
= 
This is the overview for the = operator overload. 
 
This is const __wchar_t*, a member of class OdString. 
 
This is const char*, a member of class OdString. 
 
Returns the underlying character array (buffer) of this String object. 
 
Name 
Description 
 
Functional object to do case-less string comparison e.g. in functions. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.