GTAdhocAPI
Gran Turismo (6) Adhoc API Documentation
Loading...
Searching...
No Matches
System::Object Class Reference

This is the base object for every type. More...

Inheritance diagram for System::Object:
IO::StreamReader IO::StreamWriter System::Any System::Array System::Bool System::Byte System::ByteData System::Double System::Exception System::Float System::FunctionObject System::Int System::Iterator System::LoadPath System::Long System::Map System::MethodObject System::Module System::Monitor System::Short System::String System::Symbol System::Thread System::UByte System::UInt System::ULong System::UShort gtengine::MArcadeStyleMode gtengine::MBehavior gtengine::MCarDriverParameter gtengine::MCarDriverStatus gtengine::MCarParameter gtengine::MCarStatus gtengine::MCarThin gtengine::MClan gtengine::MController gtengine::MCourseGenerateData gtengine::MDataLogger gtengine::MDragRaceMode gtengine::MDriftMode gtengine::MEntitlement gtengine::MGPSReplay2 gtengine::MGTServiceManager gtengine::MGameItem gtengine::MGameParameter gtengine::MGarage gtengine::MGarageCar gtengine::MLTEntry gtengine::MLicenseCondition gtengine::MLicenseMode gtengine::MLiveTimingRecord gtengine::MLobby gtengine::MOrganizer gtengine::MPilotStatus gtengine::MQualityControlParameter gtengine::MRaceBuildParameter gtengine::MRaceCameraSetStatus gtengine::MRaceCameraSetStatus gtengine::MRaceCameraStatus gtengine::MRaceEntryStatus gtengine::MRaceOperator gtengine::MRaceParameter gtengine::MRaceSound gtengine::MRaceStatus gtengine::MReplayExport gtengine::MReplayExportToMoTeC gtengine::MReplayInfo gtengine::MRoomConfig gtengine::MSceneStatus gtengine::MSceneTime gtengine::MServiceBrowser gtengine::MServicePublisher gtengine::MSpecDB gtengine::MVehicleStatus menu::MAdjustment menu::MColorObject menu::MEvent menu::MRectangle menu::MRenderContext menu::MRootTransition menu::MScrollArea menu::MSyncTimer menu::MTransform menu::MUpdateContext pdiext::MBufferDecryptManager pdiext::MEngineSound pdiext::MGameContentUtilStorage pdiext::MGameDataUtil pdiext::MGameObjectManager pdiext::MGrim2 pdiext::MHttpRequest pdiext::MPhotoSysUtil pdiext::MSaveDataUtil pdiext::MSoundContext pdiext::MSoundEffect pdiext::MStorageDataUtil pdiext::MStreamPlayer pdiext::MSystemCondition pdiext::MSystemConfiguration pdiext::MUsbPspComm pdiext::MVoucher pdistd::AppBootConfig pdistd::MAVChat pdistd::MActivity pdistd::MAutoTest pdistd::MBbs2 pdistd::MBlob pdistd::MCipher pdistd::MCommunity pdistd::MCourse pdistd::MDomNode pdistd::MDynRes pdistd::MEventRace2 pdistd::MGTMail pdistd::MGameInputAnalog pdistd::MGameInputButton pdistd::MGameInputData pdistd::MGamePort pdistd::MGpb pdistd::MHttp3 pdistd::MHttpc pdistd::MLocale pdistd::MLoggerManager pdistd::MMatching2 pdistd::MNPCommerce pdistd::MNetworkInterface pdistd::MNetworkPlatform pdistd::MNetworkUserStorage pdistd::MNews2 pdistd::MNoticeData pdistd::MNoticeList pdistd::MNpEula pdistd::MPDINetwork pdistd::MPDINetworkUserId pdistd::MPDINetworkUserProfile pdistd::MPhoto pdistd::MPipe pdistd::MProgress pdistd::MPseudoReflectionObject pdistd::MRTextDB pdistd::MRTextManager pdistd::MRandom pdistd::MRanking2 pdistd::MRecorder pdistd::MReplay2 pdistd::MSailTranscoder pdistd::MSdService pdistd::MSns pdistd::MSound pdistd::MSqlite pdistd::MSqliteIterator pdistd::MSystemDialog pdistd::MTestSou pdistd::MTime pdistd::MTv2 pdistd::MUserProfile2 pdistd::MVideoExport pdistd::MWebAd pdistd::MWorker pdistd::MXml

Public Member Functions

 Object ()
 constructor taking no param More...
 
Bool isInstanceOf (Class classType)
 Returns whether an object is of a specific class/type. More...
 
Object getDeepCopy ()
 Gets a deep copy of this object. More...
 
void setDeepCopy (Object obj)
 Unk. More...
 
String dump ()
 Dumps all info about an object. More...
 
Object getObjectAttribute (string path)
 
void setObjectAttribute (string path, Object value)
 
Bool hasPrimitiveInterface ()
 Returns whether this object has a primitive interface. More...
 
Bool toBool ()
 Casts this object to Bool. More...
 
Byte toByte ()
 Casts this object to Byte. More...
 
Short toShort ()
 Casts this object to Short. More...
 
Int toInt ()
 Casts this object to Int. More...
 
Long toLong ()
 Casts this object to Long. More...
 
UByte toUByte ()
 Casts this object to UByte. More...
 
UShort toUShort ()
 Casts this object to UShort. More...
 
UInt toUInt ()
 Casts this object to UInt. More...
 
ULong toULong ()
 Casts this object to ULong. More...
 
Float toFloat ()
 Casts this object to Float. More...
 
Double toDouble ()
 Casts this object to Double. More...
 
String toString ()
 Casts this object to String. More...
 
Symbol toSymbol ()
 Casts this object to Symbol. More...
 
Bool hasArrayInterface ()
 Returns whether this object has an Array interface. More...
 
Int getArrayCount ()
 Gets the Array item count for this object. More...
 
void setArrayCount ()
 Sets the Array item count for this object. More...
 
Object getArrayElement (Object arg0)
 Gets an Array item for this object. More...
 
void setArrayElement (Object arg0, Object arg1)
 Sets the Array item for this object. More...
 
Bool hasMapInterface ()
 Returns whether this object has a Map interface. More...
 
int getMapCount ()
 Returns the count of items in the map. More...
 
void setMapElement (Object arg0, Object arg1)
 Returns whether the Map has a specific object key. Bool hasMapElement(Object arg0);. More...
 
Object getMapElement (Object arg0)
 Gets a Map element by key. More...
 
void hasGeneratorInterface ()
 Returns whether this object has a generator interface. More...
 
Iterator generator ()
 Returns generator (?) More...
 
void hasIteratorInterface ()
 Returns whether this object has an iterator. More...
 
Iterator iterator ()
 Gets the iterator for this object. More...
 
void hasVariableInterface ()
 Returns whether this object is a variable. More...
 
void hasFunctionInterface ()
 Returns whether this object has a function interface. More...
 
Object call ()
 Calls this object as a function. More...
 
Bool hasByteDataInterface ()
 Returns whether this object has a byte data interface. More...
 
Int getByteDataCount ()
 Returns the ByteData size for this object. More...
 
void setByteDataCount (Int count)
 Sets the ByteData size for this object. More...
 
Int getByteDataCapacity ()
 Returns the ByteData capacity for this object. More...
 
void setByteDataCapacity (Int capacity)
 Sets the ByteData capacity for this object. More...
 
ByteData getByteData ()
 Gets the underlaying ByteData. More...
 
void setByteData (ByteData bytedata)
 Sets the underlaying ByteData. More...
 
void hasObjectSelectorInterface ()
 Returns whether this object has an object selector interface. More...
 
void self ()
 Gets the get for this object if it has a get interface. More...
 
void getArchiveTree ()
 
void setArchiveTree ()
 
ByteData serialize ()
 Serializes this object. More...
 
void deserialize (ByteData serializedData)
 Deserializes this object. More...
 
void defined (Object obj)
 Returns whether a certain object is defined within this object. More...
 
Array find_all (FunctionObject func)
 Finds all the elements in this object that matches the predicates. More...
 
void each_all (FunctionObject func)
 Applies callback to all elements in this object. More...
 
Array map_all (FunctionObject< Object > func)
 Maps all the elements in this object. More...
 
Bool operator!= ()
 Returns whether this object is not equal to another. More...
 
Bool operator== ()
 Returns whether this object is equal to another. More...
 

Public Attributes

Int rc_size
 Getter-only. Reference counter size of this object. More...
 
Object rc_class
 Getter-only. Type name of the object. More...
 
Int rc_count
 Getter-only. Reference count of this object. More...
 
Int weak_count
 Getter-only. Weak reference count of this object. More...
 
Class class_id
 Class (type) object for this object. More...
 

Detailed Description

This is the base object for every type.

Definition at line 4 of file Object.cpp.

Constructor & Destructor Documentation

◆ Object()

System::Object::Object ( )

constructor taking no param

Member Function Documentation

◆ call()

Object System::Object::call ( )

Calls this object as a function.

Object must have function interface. Using () on the object also works.

Returns
Return value

◆ defined()

void System::Object::defined ( Object  obj)

Returns whether a certain object is defined within this object.

This object must have a map interface.

◆ deserialize()

void System::Object::deserialize ( ByteData  serializedData)

Deserializes this object.

From PDStruct buffer

◆ dump()

String System::Object::dump ( )

Dumps all info about an object.

Debug version only (else stripped).

◆ each_all()

void System::Object::each_all ( FunctionObject  func)

Applies callback to all elements in this object.

◆ find_all()

Array System::Object::find_all ( FunctionObject  func)

Finds all the elements in this object that matches the predicates.

Returns
Array of results
var obj = "aaabbbcccbbbaaa";
return obj.find_all((e) => e == "c"); // [(String)("c"),(String)("c"),(String)("c")]

◆ generator()

Iterator System::Object::generator ( )

Returns generator (?)

FunctionObject seems to allow it

◆ getArchiveTree()

void System::Object::getArchiveTree ( )

◆ getArrayCount()

Int System::Object::getArrayCount ( )

Gets the Array item count for this object.

◆ getArrayElement()

Object System::Object::getArrayElement ( Object  arg0)

Gets an Array item for this object.

◆ getByteData()

ByteData System::Object::getByteData ( )

Gets the underlaying ByteData.

◆ getByteDataCapacity()

Int System::Object::getByteDataCapacity ( )

Returns the ByteData capacity for this object.

◆ getByteDataCount()

Int System::Object::getByteDataCount ( )

Returns the ByteData size for this object.

◆ getDeepCopy()

Object System::Object::getDeepCopy ( )

Gets a deep copy of this object.

◆ getMapCount()

int System::Object::getMapCount ( )

Returns the count of items in the map.

◆ getMapElement()

Object System::Object::getMapElement ( Object  arg0)

Gets a Map element by key.

◆ getObjectAttribute()

Object System::Object::getObjectAttribute ( string  path)

◆ hasArrayInterface()

Bool System::Object::hasArrayInterface ( )

Returns whether this object has an Array interface.

◆ hasByteDataInterface()

Bool System::Object::hasByteDataInterface ( )

Returns whether this object has a byte data interface.

◆ hasFunctionInterface()

void System::Object::hasFunctionInterface ( )

Returns whether this object has a function interface.

◆ hasGeneratorInterface()

void System::Object::hasGeneratorInterface ( )

Returns whether this object has a generator interface.

◆ hasIteratorInterface()

void System::Object::hasIteratorInterface ( )

Returns whether this object has an iterator.

◆ hasMapInterface()

Bool System::Object::hasMapInterface ( )

Returns whether this object has a Map interface.

◆ hasObjectSelectorInterface()

void System::Object::hasObjectSelectorInterface ( )

Returns whether this object has an object selector interface.

◆ hasPrimitiveInterface()

Bool System::Object::hasPrimitiveInterface ( )

Returns whether this object has a primitive interface.

◆ hasVariableInterface()

void System::Object::hasVariableInterface ( )

Returns whether this object is a variable.

◆ isInstanceOf()

Bool System::Object::isInstanceOf ( Class  classType)

Returns whether an object is of a specific class/type.

◆ iterator()

Iterator System::Object::iterator ( )

Gets the iterator for this object.

◆ map_all()

Array System::Object::map_all ( FunctionObject< Object func)

Maps all the elements in this object.

Returns
Array of all the selected elements
var obj = "map";
return obj.map_all((e) => e); // [(String)("m"),(String)("a"),(String)("p")]

◆ operator!=()

Bool System::Object::operator!= ( )
inline

Returns whether this object is not equal to another.

Definition at line 203 of file Object.cpp.

◆ operator==()

Bool System::Object::operator== ( )
inline

Returns whether this object is equal to another.

Definition at line 206 of file Object.cpp.

◆ self()

void System::Object::self ( )

Gets the get for this object if it has a get interface.

◆ serialize()

ByteData System::Object::serialize ( )

Serializes this object.

Serializes it as a PDStruct buffer

◆ setArchiveTree()

void System::Object::setArchiveTree ( )

◆ setArrayCount()

void System::Object::setArrayCount ( )

Sets the Array item count for this object.

◆ setArrayElement()

void System::Object::setArrayElement ( Object  arg0,
Object  arg1 
)

Sets the Array item for this object.

◆ setByteData()

void System::Object::setByteData ( ByteData  bytedata)

Sets the underlaying ByteData.

◆ setByteDataCapacity()

void System::Object::setByteDataCapacity ( Int  capacity)

Sets the ByteData capacity for this object.

◆ setByteDataCount()

void System::Object::setByteDataCount ( Int  count)

Sets the ByteData size for this object.

◆ setDeepCopy()

void System::Object::setDeepCopy ( Object  obj)

Unk.

◆ setMapElement()

void System::Object::setMapElement ( Object  arg0,
Object  arg1 
)

Returns whether the Map has a specific object key. Bool hasMapElement(Object arg0);.

/** Sets a Map element (key, value).

◆ setObjectAttribute()

void System::Object::setObjectAttribute ( string  path,
Object  value 
)

◆ toBool()

Bool System::Object::toBool ( )

Casts this object to Bool.

◆ toByte()

Byte System::Object::toByte ( )

Casts this object to Byte.

◆ toDouble()

Double System::Object::toDouble ( )

Casts this object to Double.

◆ toFloat()

Float System::Object::toFloat ( )

Casts this object to Float.

◆ toInt()

Int System::Object::toInt ( )

Casts this object to Int.

◆ toLong()

Long System::Object::toLong ( )

Casts this object to Long.

◆ toShort()

Short System::Object::toShort ( )

Casts this object to Short.

◆ toString()

String System::Object::toString ( )

Casts this object to String.

◆ toSymbol()

Symbol System::Object::toSymbol ( )

Casts this object to Symbol.

◆ toUByte()

UByte System::Object::toUByte ( )

Casts this object to UByte.

◆ toUInt()

UInt System::Object::toUInt ( )

Casts this object to UInt.

◆ toULong()

ULong System::Object::toULong ( )

Casts this object to ULong.

◆ toUShort()

UShort System::Object::toUShort ( )

Casts this object to UShort.

Member Data Documentation

◆ class_id

Class System::Object::class_id

Class (type) object for this object.

Definition at line 24 of file Object.cpp.

◆ rc_class

Object System::Object::rc_class

Getter-only. Type name of the object.

Definition at line 15 of file Object.cpp.

◆ rc_count

Int System::Object::rc_count

Getter-only. Reference count of this object.

Definition at line 18 of file Object.cpp.

◆ rc_size

Int System::Object::rc_size

Getter-only. Reference counter size of this object.

Definition at line 12 of file Object.cpp.

◆ weak_count

Int System::Object::weak_count

Getter-only. Weak reference count of this object.

Definition at line 21 of file Object.cpp.


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