LEOValue (Private)
IntroductionThe actual implementation and "private API" used to implement the various LEOValue subclasses. GroupsLEOValueReferenceGroup members:
LEOValueStringGroup members:
LEOValueIntegerGroup members:
Shared LEOValue Method ImplementationsGroup members:
LEOValueBooleanGroup members:
LEOValueNumberGroup members:
LEOValueStringConstantGroup members:Functions
LEOCantGetValueAsBooleanbool LEOCantGetValueAsBoolean( LEOValuePtr self, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as boolean" error message and abort execution of the current LEOContext. LEOCantGetValueAsIntegerLEOInteger LEOCantGetValueAsInteger( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as integer" error message and abort execution of the current LEOContext. LEOCantGetValueAsNumberLEONumber LEOCantGetValueAsNumber( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as number" error message and abort execution of the current LEOContext. LEOCantGetValueAsPointvoid LEOCantGetValueAsPoint( LEOValuePtr self, LEOInteger *l, LEOInteger *t, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as point" error message and abort execution of the current LEOContext. LEOCantGetValueAsRangevoid LEOCantGetValueAsRange( LEOValuePtr self, LEOInteger *s, LEOInteger *e, LEOChunkType *t, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as range" error message and abort execution of the current LEOContext. LEOCantGetValueAsRangeOfStringvoid LEOCantGetValueAsRangeOfString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as string" error message and abort execution of the current LEOContext. Note that you should not need this as *all* types should convert to string. The one exception are native pointers when we wrap them in a NativeObject value. LEOCantGetValueAsRectvoid LEOCantGetValueAsRect( LEOValuePtr self, LEOInteger *l, LEOInteger *t, LEOInteger *r, LEOInteger *b, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as rect" error message and abort execution of the current LEOContext. LEOCantGetValueAsStringconst char* LEOCantGetValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as string" error message and abort execution of the current LEOContext. Note that you should not need this as *all* types should convert to string. The one exception are native pointers when we wrap them in a NativeObject value. LEOCantGetValueForKeyLEOValuePtr LEOCantGetValueForKey( LEOValuePtr self, const char *keyName, union LEOValue *tempStorage, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as array" error message and abort execution of the current LEOContext. LEOCantSetValueAsBooleanvoid LEOCantSetValueAsBoolean( LEOValuePtr self, bool inState, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as boolean" error message and abort execution of the current LEOContext. LEOCantSetValueAsIntegervoid LEOCantSetValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as integer" error message and abort execution of the current LEOContext. LEOCantSetValueAsNativeObjectvoid LEOCantSetValueAsNativeObject( LEOValuePtr self, void *inNativeObject, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as native object" error message and abort execution of the current LEOContext. LEOCantSetValueAsNumbervoid LEOCantSetValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as number" error message and abort execution of the current LEOContext. LEOCantSetValueAsPointvoid LEOCantSetValueAsPoint( LEOValuePtr self, LEOInteger l, LEOInteger t, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as point" error message and abort execution of the current LEOContext. LEOCantSetValueAsRangevoid LEOCantSetValueAsRange( LEOValuePtr self, LEOInteger s, LEOInteger e, LEOChunkType t, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as range" error message and abort execution of the current LEOContext. LEOCantSetValueAsRectvoid LEOCantSetValueAsRect( LEOValuePtr self, LEOInteger l, LEOInteger t, LEOInteger r, LEOInteger b, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as rect" error message and abort execution of the current LEOContext. LEOCantSetValueAsStringvoid LEOCantSetValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set as string" error message and abort execution of the current LEOContext. LEOCantSetValueForKeyvoid LEOCantSetValueForKey( LEOValuePtr self, const char *keyName, LEOValuePtr inValue, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't get as array" error message and abort execution of the current LEOContext. LEOCantSetValueRangeAsStringvoid LEOCantSetValueRangeAsString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to return a "can't set range as string" error message and abort execution of the current LEOContext. LEOCleanUpBooleanValuevoid LEOCleanUpBooleanValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for boolean values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOCleanUpIntegerValuevoid LEOCleanUpIntegerValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for integer values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOCleanUpNativeObjectValuevoid LEOCleanUpNativeObjectValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for native object values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOCleanUpNumberValuevoid LEOCleanUpNumberValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for number values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOCleanUpReferenceValuevoid LEOCleanUpReferenceValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for reference values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. Yes, you can have references to references. Use this power wisely. LEOCleanUpStringConstantValuevoid LEOCleanUpStringConstantValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for string constant values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOCleanUpStringValuevoid LEOCleanUpStringValue( LEOValuePtr self, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionDestructor for string values. If this value has references, this makes sure that they will produce an error message if they ever try to access it again. LEOGetAnyValueAsRangeOfStringvoid LEOGetAnyValueAsRangeOfString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values to generate a string from them and then return a range of that. LEOGetBooleanValueAsBooleanbool LEOGetBooleanValueAsBoolean( LEOValuePtr self, struct LEOContext *inContext ) DiscussionImplementation of GetAsBoolean for boolean values. LEOGetBooleanValueAsStringconst char* LEOGetBooleanValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for boolean values. LEOGetIntegerValueAsIntegerLEOInteger LEOGetIntegerValueAsInteger( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsInteger for integer values. LEOGetIntegerValueAsNumberLEONumber LEOGetIntegerValueAsNumber( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsNumber for integer values. LEOGetIntegerValueAsStringconst char* LEOGetIntegerValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsString for integer values. LEOGetNumberValueAsIntegerLEOInteger LEOGetNumberValueAsInteger( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsInteger for number values. LEOGetNumberValueAsNumberLEONumber LEOGetNumberValueAsNumber( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsNumber for number values. LEOGetNumberValueAsStringconst char* LEOGetNumberValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetValueAsString for number values. LEOGetPointValueAsStringconst char* LEOGetPointValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for point values. LEOGetRangeValueAsStringconst char* LEOGetRangeValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for rectangle values. LEOGetRectValueAsStringconst char* LEOGetRectValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for rectangle values. LEOGetReferenceValueAsBooleanbool LEOGetReferenceValueAsBoolean( LEOValuePtr self, struct LEOContext *inContext ) DiscussionImplementation of GetAsBoolean for reference values. LEOGetReferenceValueAsIntegerLEOInteger LEOGetReferenceValueAsInteger( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetAsInteger for reference values. LEOGetReferenceValueAsNumberLEONumber LEOGetReferenceValueAsNumber( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetAsNumber for reference values. LEOGetReferenceValueAsPointvoid LEOGetReferenceValueAsPoint( LEOValuePtr self, LEOInteger *l, LEOInteger *t, struct LEOContext *inContext ) DiscussionImplementation of GetAsPoint for reference values. LEOGetReferenceValueAsRangevoid LEOGetReferenceValueAsRange( LEOValuePtr self, LEOInteger *s, LEOInteger *e, LEOChunkType *t, struct LEOContext *inContext ) DiscussionImplementation of GetAsRange for reference values. LEOGetReferenceValueAsRangeOfStringvoid LEOGetReferenceValueAsRangeOfString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsRangeOfString for reference values. LEOGetReferenceValueAsRectvoid LEOGetReferenceValueAsRect( LEOValuePtr self, LEOInteger *l, LEOInteger *t, LEOInteger *r, LEOInteger *b, struct LEOContext *inContext ) DiscussionImplementation of GetAsRect for reference values. LEOGetReferenceValueAsStringconst char* LEOGetReferenceValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for reference values. LEOGetStringValueAsBooleanbool LEOGetStringValueAsBoolean( LEOValuePtr self, struct LEOContext *inContext ) DiscussionImplementation of GetAsBoolean for string values. If the given string can't be completely converted into a boolean, this will fail with an error message and abort execution of the current LEOContext. LEOGetStringValueAsIntegerLEOInteger LEOGetStringValueAsInteger( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetAsInteger for string values. If the given string can't be completely converted into an integer, this will fail with an error message and abort execution of the current LEOContext. LEOGetStringValueAsNumberLEONumber LEOGetStringValueAsNumber( LEOValuePtr self, LEOUnit *outUnit, struct LEOContext *inContext ) DiscussionImplementation of GetAsNumber for string values. If the given string can't be completely converted into a number, this will fail with an error message and abort execution of the current LEOContext. LEOGetStringValueAsRangeOfStringvoid LEOGetStringValueAsRangeOfString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsRangeOfString for string values. LEOGetStringValueAsStringconst char* LEOGetStringValueAsString( LEOValuePtr self, char *outBuf, size_t bufSize, struct LEOContext *inContext ) DiscussionImplementation of GetAsString for string values. LEOInitBooleanValueCopyvoid LEOInitBooleanValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for boolean values. LEOInitIntegerValueCopyvoid LEOInitIntegerValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for integer values. LEOInitNativeObjectValueCopyvoid LEOInitNativeObjectValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for native object values. LEOInitNumberValueCopyvoid LEOInitNumberValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for number values. LEOInitReferenceValueCopyvoid LEOInitReferenceValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for reference values. This method is safe to call even if the original value this reference points to has already gone away. LEOInitReferenceValueSimpleCopyvoid LEOInitReferenceValueSimpleCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for reference values. This method is safe to call even if the original value this reference points to has already gone away. LEOInitStringConstantValueCopyvoid LEOInitStringConstantValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for string constant values. LEOInitStringValueCopyvoid LEOInitStringValueCopy( LEOValuePtr self, LEOValuePtr dest, LEOKeepReferencesFlag keepReferences, struct LEOContext *inContext ) DiscussionImplementation of InitCopy for string values. LEOSetBooleanValueAsBooleanvoid LEOSetBooleanValueAsBoolean( LEOValuePtr self, bool inBoolean, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsBoolean for boolean values. LEOSetBooleanValueAsStringvoid LEOSetBooleanValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for boolean values. If the given string can't be fully converted to a boolean, this will fail with an error message and abort execution of the current LEOContext. LEOSetIntegerValueAsIntegervoid LEOSetIntegerValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsInteger for integer values. LEOSetIntegerValueAsNumbervoid LEOSetIntegerValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsNumber for integer values. LEOSetIntegerValueAsStringvoid LEOSetIntegerValueAsString( LEOValuePtr self, const char *inInteger, size_t inIntegerLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for integer values. If the given string can't be fully converted to an integer, this will fail with an error message and abort execution of the current LEOContext. LEOSetNumberValueAsIntegervoid LEOSetNumberValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsInteger for number values. LEOSetNumberValueAsNumbervoid LEOSetNumberValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsNumber for number values. LEOSetNumberValueAsStringvoid LEOSetNumberValueAsString( LEOValuePtr self, const char *inNumber, size_t inNumberLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for number values. If the given string can't be fully converted to a number, this will fail with an error message and abort execution of the current LEOContext. LEOSetPointValueAsStringvoid LEOSetPointValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for rectangle values. If the given string can't be fully converted to a rectangle, this will fail with an error message and abort execution of the current LEOContext. LEOSetRangeValueAsStringvoid LEOSetRangeValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for range values. If the given string can't be fully converted to a range, this will fail with an error message and abort execution of the current LEOContext. LEOSetRectValueAsStringvoid LEOSetRectValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetValueAsString for rectangle values. If the given string can't be fully converted to a rectangle, this will fail with an error message and abort execution of the current LEOContext. LEOSetReferenceValueAsArrayvoid LEOSetReferenceValueAsArray( LEOValuePtr self, struct LEOArrayEntry *inArray, struct LEOContext *inContext ) DiscussionImplementation of SetAsArray for reference values. LEOSetReferenceValueAsBooleanvoid LEOSetReferenceValueAsBoolean( LEOValuePtr self, bool inBoolean, struct LEOContext *inContext ) DiscussionImplementation of SetAsBoolean for reference values. LEOSetReferenceValueAsIntegervoid LEOSetReferenceValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsInteger for reference values. LEOSetReferenceValueAsNativeObjectvoid LEOSetReferenceValueAsNativeObject( LEOValuePtr self, void *inNativeObject, struct LEOContext *inContext ) DiscussionImplementation of SetAsNativeObject for reference values. LEOSetReferenceValueAsNumbervoid LEOSetReferenceValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsNumber for reference values. LEOSetReferenceValueAsPointvoid LEOSetReferenceValueAsPoint( LEOValuePtr self, LEOInteger l, LEOInteger t, struct LEOContext *inContext ) DiscussionImplementation of SetAsRect for reference values. LEOSetReferenceValueAsRangevoid LEOSetReferenceValueAsRange( LEOValuePtr self, LEOInteger s, LEOInteger e, LEOChunkType t, struct LEOContext *inContext ) DiscussionImplementation of SetAsRange for reference values. LEOSetReferenceValueAsRectvoid LEOSetReferenceValueAsRect( LEOValuePtr self, LEOInteger l, LEOInteger t, LEOInteger r, LEOInteger b, struct LEOContext *inContext ) DiscussionImplementation of SetAsRect for reference values. LEOSetReferenceValueAsStringvoid LEOSetReferenceValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetAsString for reference values. LEOSetReferenceValuePredeterminedRangeAsStringvoid LEOSetReferenceValuePredeterminedRangeAsString( LEOValuePtr self, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetPredeterminedRangeAsString for reference values. LEOSetReferenceValueRangeAsStringvoid LEOSetReferenceValueRangeAsString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetRangeAsString for reference values. LEOSetStringConstantValueAsBooleanvoid LEOSetStringConstantValueAsBoolean( LEOValuePtr self, bool inBoolean, struct LEOContext *inContext ) DiscussionImplementation of SetAsString for string constant values. LEOSetStringConstantValueAsIntegervoid LEOSetStringConstantValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsInteger for string constant values. This turns the value into a regular (dynamic) string value. LEOSetStringConstantValueAsNumbervoid LEOSetStringConstantValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsNumber for string constant values. This turns the value into a regular (dynamic) string value. LEOSetStringConstantValueAsStringvoid LEOSetStringConstantValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetAsString for string constant values. This turns the value into a regular (dynamic) string value. LEOSetStringConstantValuePredeterminedRangeAsStringvoid LEOSetStringConstantValuePredeterminedRangeAsString( LEOValuePtr self, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetPredeterminedRangeAsString for string constant values. LEOSetStringConstantValueRangeAsStringvoid LEOSetStringConstantValueRangeAsString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetRangeAsString for string constant values. This turns the value into a regular (dynamic) string value. LEOSetStringLikeValueAsNativeObjectvoid LEOSetStringLikeValueAsNativeObject( LEOValuePtr self, void *inNativeObject, struct LEOContext *inContext ) DiscussionGeneric method implementation used for values that can hold an empty string. A NULL native object is considered the same as the "unset" value by us, which is an empty string. LEOSetStringValueAsBooleanvoid LEOSetStringValueAsBoolean( LEOValuePtr self, bool inBoolean, struct LEOContext *inContext ) DiscussionImplementation of SetAsBoolean for string values. This turns the string value into a constant string. LEOSetStringValueAsIntegervoid LEOSetStringValueAsInteger( LEOValuePtr self, LEOInteger inInteger, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsInteger for string values. LEOSetStringValueAsNumbervoid LEOSetStringValueAsNumber( LEOValuePtr self, LEONumber inNumber, LEOUnit inUnit, struct LEOContext *inContext ) DiscussionImplementation of SetAsNumber for string values. LEOSetStringValueAsStringvoid LEOSetStringValueAsString( LEOValuePtr self, const char *inString, size_t inStringLen, struct LEOContext *inContext ) DiscussionImplementation of SetAsString for string values. This turns the string value into a constant string if the passed-in string is NULL (from delete) or 0-length. LEOSetStringValueAsStringConstantvoid LEOSetStringValueAsStringConstant( LEOValuePtr self, const char *inString, struct LEOContext *inContext ) DiscussionHelper function used to turn a string value into a string constant value, and assigning it the given constant string (i.e. assigning the string by reference and not copying it). The caller is responsible for ensuring that the string is not disposed of while the value still needs it. LEOSetStringValuePredeterminedRangeAsStringvoid LEOSetStringValuePredeterminedRangeAsString( LEOValuePtr self, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetPredeterminedRangeAsString for string values. LEOSetStringValueRangeAsStringvoid LEOSetStringValueRangeAsString( LEOValuePtr self, LEOChunkType inType, size_t inRangeStart, size_t inRangeEnd, const char *inBuf, struct LEOContext *inContext ) DiscussionImplementation of SetRangeAsString for string values. |