Serializer
Overview
Base serializer class.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor (declared in Object)
Default constructor.
constructor
Serializer()
init()
Serializer()
EndList virtual abstract
Writes an "end of list".
method EndList
void EndList()
func EndList()
void EndList()
EndObject virtual abstract
Writes an "end of object".
method EndObject
void EndObject()
func EndObject()
void EndObject()
Equals virtual (declared in Object)
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj: the reference to compare this with.
Finalize protected virtual (declared in Object)
Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.
method Finalize
void Finalize()
func Finalize()
void Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
GetType (declared in Object)
Returns the actual type of this class
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
SelectProperty virtual abstract
Triggers a 'select property', to set the name of a next node.
method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
Parameters:
- aFirst:
- aProperty:
StartList virtual abstract
Starts a list value.
method StartList
void StartList()
func StartList()
void StartList()
StartListEntry virtual
Start an entry for a list op.
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Parameters:
- aFirst:
StartObject virtual abstract
Start a new object
method StartObject
void StartObject()
func StartObject()
void StartObject()
ToString virtual (declared in Object)
Gets the string representation of this method.
Write
Write the given object.
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Parameters:
- anObj:
WriteValue virtual abstract
Writes a value.
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Parameters:
- aValue:
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor (declared in Object)
Default constructor.
constructor
Serializer()
init()
Serializer()
EndList virtual abstract
Writes an "end of list".
method EndList
void EndList()
func EndList()
void EndList()
EndObject virtual abstract
Writes an "end of object".
method EndObject
void EndObject()
func EndObject()
void EndObject()
Equals virtual (declared in Object)
Returns true if the target object matches this one, by default compares the reference.
Parameters:
- obj: the reference to compare this with.
Finalize protected virtual (declared in Object)
Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.
method Finalize
void Finalize()
func Finalize()
void Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
GetType (declared in Object)
Returns the actual type of this class
SelectProperty virtual abstract
Triggers a 'select property', to set the name of a next node.
method SelectProperty(aFirst: Boolean; aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
func SelectProperty(_ aFirst: Boolean, _ aProperty: PropertyInfo)
void SelectProperty(Boolean aFirst, PropertyInfo aProperty)
Parameters:
- aFirst:
- aProperty:
StartList virtual abstract
Starts a list value.
method StartList
void StartList()
func StartList()
void StartList()
StartListEntry virtual
Start an entry for a list op.
method StartListEntry(aFirst: Boolean)
void StartListEntry(Boolean aFirst)
func StartListEntry(_ aFirst: Boolean)
void StartListEntry(Boolean aFirst)
Parameters:
- aFirst:
StartObject virtual abstract
Start a new object
method StartObject
void StartObject()
func StartObject()
void StartObject()
ToString virtual (declared in Object)
Gets the string representation of this method.
Write
Write the given object.
method Write(anObj: Object)
void Write(Object anObj)
func Write(_ anObj: Object)
void Write(Object anObj)
Parameters:
- anObj:
WriteValue virtual abstract
Writes a value.
method WriteValue(aValue: Object)
void WriteValue(Object aValue)
func WriteValue(_ aValue: Object)
void WriteValue(Object aValue)
Parameters:
- aValue: