MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / IsObject

Method IsObject

src/server/angelscript/angelscript/source/as_datatype.cpp:582–593  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582bool asCDataType::IsObject() const
583{
584 if( IsPrimitive() )
585 return false;
586
587 // Null handle doesn't have an object type but should still be considered an object
588 if( typeInfo == 0 )
589 return IsNullHandle();
590
591 // Template subtypes shouldn't be considered objects
592 return CastToObjectType(typeInfo) ? true : false;
593}
594
595bool asCDataType::IsFuncdef() const
596{

Callers 15

asCScriptObjectMethod · 0.45
~asCScriptObjectMethod · 0.45
GetAddressOfPropertyMethod · 0.45
EnumReferencesMethod · 0.45
ReleaseAllHandlesMethod · 0.45
CopyFromAsMethod · 0.45
CallSystemFunctionNativeFunction · 0.45
CallSystemFunctionNativeFunction · 0.45
FinalizeFunctionMethod · 0.45
CallCopyConstructorMethod · 0.45

Calls 1

CastToObjectTypeFunction · 0.85

Tested by

no test coverage detected