Vireo  1.0
Compact runtime for Virtual Instruments
 All Classes Files Functions Variables Enumerations Enumerator Macros Groups Pages
Public Member Functions | List of all members
Vireo::String Class Reference

Vireo string type. Must be allocated by TypeManager not raw C++. More...

#include <TypeAndDataManager.h>

Inheritance diagram for Vireo::String:
Vireo::TypedArray1D< Utf8Char > Vireo::TypedArrayCore

Public Member Functions

SubString MakeSubStringAlias ()
 
void CopyFromSubString (SubString *string)
 
void AppendCStr (const char *cstr)
 
void AppendSubString (SubString *string)
 
- Public Member Functions inherited from Vireo::TypedArray1D< Utf8Char >
Utf8Char * Obj ()
 
Utf8Char * Begin ()
 
Utf8Char * End ()
 
Utf8Char At (IntIndex index)
 
Utf8Char * BeginAt (IntIndex index)
 
Utf8Char * BeginAtNDIndirect (Int32 rank, IntIndex *pDimIndexes)
 
T2 AtAQ (IntIndex index)
 
NIError Append (Utf8Charelement)
 
NIError Append (IntIndex count, const Utf8Char *pElements)
 
NIError Append (TypedArray1D *array)
 
NIError CopyFrom (IntIndex count, const Utf8Char *pElements)
 
- Public Member Functions inherited from Vireo::TypedArrayCore
IntIndex * GetDimensionLengths ()
 
IntIndex * GetSlabLengths ()
 
AQBlock1 * BeginAt (IntIndex index)
 
AQBlock1 * BeginAtNDIndirect (Int32 rank, IntIndex **pDimIndexes)
 
void * RawObj ()
 
AQBlock1 * RawBegin ()
 
AQBlock1 * RawEnd ()
 
void * BeginAtAQ (IntIndex index)
 
TypeRef Type ()
 
TypeRef ElementType ()
 
Boolean SetElementType (TypeRef, Boolean preserveElements)
 
IntIndex GetLength (IntIndex i)
 
IntIndex Length ()
 
IntIndex Capacity ()
 
IntIndex AQBlockLength (IntIndex count)
 Calculate the length of a contigious chunk of elements.
 
Boolean ResizeDimensions (Int32 rank, IntIndex *dimensionLengths, Boolean preserveOld, Boolean init)
 Resize for multi dim arrays.
 
Boolean ResizeToMatchOrEmpty (TypedArrayCoreRef pReference)
 Make this array match the shape of the reference type.
 
Boolean Resize1D (IntIndex length)
 Resize for 1d arrays, if not enough memory leave as is.
 
Boolean Resize1DOrEmpty (IntIndex length)
 Resize, if not enough memory, then size to zero.
 
NIError Replace1D (IntIndex position, IntIndex count, const void *pSource, Boolean truncate)
 
NIError Insert1D (IntIndex position, IntIndex count, const void *pSource=null)
 
NIError Remove1D (IntIndex position, IntIndex count)
 

Additional Inherited Members

- Static Public Member Functions inherited from Vireo::TypedArrayCore
static TypedArrayCoreRef New (TypeRef type)
 
static void Delete (TypedArrayCoreRef)
 
static Boolean ValidateHandle (TypedArrayCoreRef block)
 A minimal sanity check, it could do more.
 
- Protected Member Functions inherited from Vireo::TypedArrayCore
 TypedArrayCore (TypeRef type)
 
Boolean AQAlloc (IntIndex countBytes)
 
Boolean AQRealloc (IntIndex countBytes, IntIndex preserveBytes)
 
void AQFree ()
 
- Static Protected Member Functions inherited from Vireo::TypedArrayCore
static IntIndex StructSize (Int32 rank)
 
- Protected Attributes inherited from Vireo::TypedArrayCore
AQBlock1 * _pRawBufferBegin
 
AQBlock1 * _pRawBufferEnd
 
TypeRef _typeRef
 
TypeRef _eltTypeRef
 

Detailed Description

Vireo string type. Must be allocated by TypeManager not raw C++.


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