BlitzMax

BlitzMax

  • Downloads
  • Docs
  • API
  • Resources
  • About

›Reflection

BlitzMax API

  • Introduction

BRL

    Audio

    • Introduction
    • TChannel
    • TSound

    AudioSample

    • Introduction
    • TAudioSample
    • TAudioSampleLoader

    Bank

    • Introduction
    • TBank

    BankStream

    • Introduction
    • TBankStream

    Base64

    • Introduction
    • TBase64

    Blitz

    • Introduction
    • TArrayBoundsException
    • TBlitzException
    • TNullFunctionException
    • TNullMethodException
    • TNullObjectException
    • TOutOfDataException
    • TRuntimeException
  • BRL.BMPLoader
  • Clipboard

    • Introduction
    • TClipboard
    • TClipboardOpts
    • TWin32ClipboardOpts
    • TX11ClipboardOpts
  • BRL.D3D7Max2D
  • BRL.D3D9Max2D
  • BRL.DirectSoundAudio
  • BRL.EndianStream
  • Event

    • Introduction
    • TEvent
  • BRL.EventQueue
  • BRL.FileSystem
  • BRL.FreeAudioAudio
  • BRL.GLGraphics
  • BRL.GLMax2D
  • BRL.GNet
  • BRL.Graphics
  • BRL.Hook
  • IO

    • Introduction
    • MaxIO
  • BRL.JPGLoader
  • BRL.KeyCodes
  • LinkedList

    • Introduction
    • TList
    • TListEnum
    • TLink

    Map

    • Introduction
    • TMap
    • TIntMap
    • TIntKey
    • TPtrMap
    • TPtrKey
    • TStringMap
  • BRL.Math
  • Matrix

    • Introduction
    • SMat2D
    • SMat2F
    • SMat2I
    • SMat3D
    • SMat3F
    • SMat3I
    • SMat4D
    • SMat4F
    • SMat4I

    Max2D

    • Introduction
    • TImage

    MaxLua

    • Introduction
    • TLuaClass
    • TLuaObject
  • BRL.OGGLoader
  • BRL.OpenALAudio
  • ObjectList

    • Introduction
    • TObjectList
    • TObjectListEnumerator
    • TObjectListReverseEnumerator

    Pixmap

    • Introduction
    • TPixmap
    • TPixmapLoader
  • BRL.PNGLoader
  • BRL.PolledInput
  • Quaternion

    • Introduction
    • SQuatD
    • SQuatF
    • SQuatI
  • BRL.RamStream
  • Random

    • Introduction
    • TRandom

    Reflection

    • Introduction
    • TTypeId
    • TMember
    • TConstant
    • TField
    • TGlobal
    • TFunction
    • TMethod
  • BRL.Retro
  • BRL.Socket
  • BRL.SocketStream
  • BRL.StandardIO
  • Stream

    • Introduction
    • TCStream
    • TIO
    • TStream
    • TStreamException
    • TStreamFactory
    • TStreamReadException
    • TStreamWrapper
    • TStreamWriteException

    StringBuilder

    • Introduction
    • TStringBuilder
    • TSplitBuffer
  • BRL.System
  • BRL.SystemDefault
  • BRL.TextStream
  • BRL.TGALoader
  • ThreadPool

    • Introduction
    • TRunnable
    • TThreadPoolExecutor

    Threads

    • Introduction
    • TThread
    • TThreadData
    • TMutex
    • TSemaphore
    • TCondVar

    Timer

    • Introduction
    • TChrono
  • BRL.TimerDefault
  • Vector

    • Introduction
    • SVec2D
    • SVec2F
    • SVec2I
    • SVec3D
    • SVec3F
    • SVec3I
    • SVec4D
    • SVec4F
    • SVec4I

    Volumes

    • Introduction
    • TVolume
  • BRL.WAVLoader

Text

    CSV

    • Introduction
    • TCsvParser
    • TCsvHeader
    • TCsvRow
    • TCsvOptions
    • SCsvColumn

    Format

    • Introduction
    • TFormatter

    Ini

    • Introduction
    • TIni
    • TIniProperty
    • TIniSection

    JConv

    • Introduction
    • TJConv
    • TJConvBuilder
    • TJConvSerializer

    Json

    • Introduction
    • TJSON
    • TJSONObject
    • TJSONString
    • TJSONInteger
    • TJSONReal
    • TJSONBool
    • TJSONArray
    • TJSONNull
    • TJSONError
    • TJSONNumber

    Regex

    • Introduction
    • TRegEx
    • TRegExMatch
    • TRegExOptions
    • TRegExException

    TOML

    • Introduction
    • ETomlNodeType
    • TToml
    • ITomlNode
    • STomlDate
    • STomlDateTime
    • STomlTime
    • TTomlArray
    • TTomlInteger
    • TTomlString
    • TTomlTable
    • TTomlBoolean

    Xml

    • Introduction
    • TxmlDoc
    • TxmlNode
    • TxmlAttribute

MaxGUI

  • MaxGUI.MaxGUI
  • MaxGUI.Drivers
  • MaxGUI.Localization
  • MaxGUI.ProxyGadgets
  • MaxGUI.CocoaMaxGUI
  • MaxGUI.Win32MaxGUIEx

PUB

  • Pub.FreeJoy
  • Pub.FreeProcess
  • Pub.Glad
  • Pub.Glew
  • Joystick

    • Introduction
    • TJoystickDriver
  • Pub.Lua
  • Pub.OpenAL
  • Pub.OpenGLES
  • Pub.xmmintrin
  • Pub.ZLib

Crypto

    Digest

    • Introduction
    • TMessageDigest
    • TDigestRegister
    • TNoSuchAlgorithmException

    Cipher

    • Introduction
    • TCipher
    • TCipherMode
    • Crypto.AESCipher
    • Crypto.AnubisCipher
    • Crypto.BlowfishCipher
    • Crypto.CamelliaCipher
    • Crypto.Cast5Cipher
    • Crypto.DESCipher
    • Crypto.IdeaCipher
    • Crypto.KasumiCipher
    • Crypto.KhazadCipher
    • Crypto.KSeedCipher
    • Crypto.NoekeonCipher
    • Crypto.SerpentCipher
    • Crypto.SkipjackCipher
    • Crypto.TwofishCipher
    • Crypto.XTeaCipher

    CBCMode

    • Introduction
    • TCBCCipherMode

    CFBMode

    • Introduction
    • TCFBCipherMode

    CTRMode

    • Introduction
    • TCTRCipherMode

    ECBMode

    • Introduction
    • TECBCipherMode

    F8Mode

    • Introduction
    • TF8CipherMode

    LRWMode

    • Introduction
    • TLRWCipherMode

    OFBMode

    • Introduction
    • TOFBCipherMode

    XTSMode

    • Introduction
    • TXTSCipherMode

    Blake2BDigest

    • Introduction
    • TBlake2B_512
    • TBlake2B_384
    • TBlake2B_256
    • TBlake2B_160

    CRC32

    • Introduction
    • TCRC32

    MD5Digest

    • Introduction
    • TMD5

    Ripemd320Digest

    • Introduction
    • TRipemd320

    Ripemd356Digest

    • Introduction
    • TRipemd256

    Ripemd160Digest

    • Introduction
    • TRipemd160

    Ripemd128Digest

    • Introduction
    • TRipemd128

    SHA1Digest

    • Introduction
    • TSHA1

    SHA256Digest

    • Introduction
    • TSHA256

    SHA512Digest

    • Introduction
    • TSHA512

    SHA3Digest

    • Introduction
    • TSHA3_512
    • TSHA3_384
    • TSHA3_256
    • TSHA3_224

    TigerDigest

    • Introduction
    • TTiger

    WhirlpoolDigest

    • Introduction
    • TWhirlpool

    Crypto

    • Introduction
    • TCryptoRandom
    • TCryptoSecretBox
    • TCryptoHash
    • TCryptoSign
    • TCryptoKeyExchange
    • TCryptoKey
    • TCryptoHashKey
    • TCryptoSecretBoxKey
    • TCryptoSignature
    • TCryptoExchangeKeyPair
    • TCryptoSessionKeyPair
    • TCryptoNPacket
    • TCryptoKK1Packet
    • TCryptoKK2Packet
    • TCryptoXX1Packet
    • TCryptoXX2Packet
    • TCryptoXX3Packet
    • TCryptoExchangeState
    • TCryptoPWHashMasterKey
    • TCryptoPWHashStoredKey
    • TCryptoPasswordHash

SDL

    SDL

    • Introduction
    • TSDLStream

    SDLSystem

    • Introduction
    • TSDLMultiGesture

    SDLVideo

    • Introduction
    • TSDLDisplay
    • TSDLDisplayMode
    • TSDLGLContext
    • TSDLWindow

    SDLRender

    • Introduction
    • TSDLRenderer
    • TSDLTexture

    SDLTimer

    • Introduction
    • TSDLTimer

    SDLHaptic

    • Introduction
    • TSDLHaptic
    • TSDLHapticCondition
    • TSDLHapticConstant
    • TSDLHapticCustom
    • TSDLHapticDirection
    • TSDLHapticEffect
    • TSDLHapticLeftRight
    • TSDLHapticPeriodic
    • TSDLHapticRamp

    SDLSensor

    • Introduction
    • TSDLSensor
  • SDL.SDLFreeAudio
  • SDL.GLSDLMax2D
  • SDL.GL2SDLMax2D
  • SDL.D3D9SDLMax2D
  • SDLVirtualJoystick

    • Introduction
    • TVirtualJoystick

Steam

    SteamSDK

    • Introduction
    • TSteamClient
    • TSteamUtils
    • TSteamUserStats
    • TSteamFriends
    • TSteamUGC
    • ISteamFriendsListener
    • ISteamUGCListener
    • ISteamUserStatsListener
    • ISteamUtilsListener
    • EItemPreviewType
    • EPersonaChange
    • EPersonaState
    • ERemoteStoragePublishedFileVisibility
    • EUGCMatchingUGCType
    • EUGCQuery
    • EUserRestriction
    • EUserUGCList
    • EWorkshopFileType
Edit

TTypeId

Type id

Methods

Method Name$()

Get name of type


Method MetaData$( key$="" )

Get type meta data


Method HasMetaData:Int( key:String )

Returns True if key is in the metadata.


Method SuperType:TTypeId()

Get super type


Method ArrayType:TTypeId(dims:Int = 1)

Get array type


Method ElementType:TTypeId()

Get element type


Method PointerType:TTypeId()

Get pointer type


Method FunctionType:TTypeId( args:TTypeId[]=Null)

Get function pointer type


Method ReturnType:TTypeId()

Get function return type


Method ArgTypes:TTypeId[]()

Get function argument types


Method ExtendsType( typeId:TTypeId )

Determine if type extends a type


Method DerivedTypes:TList()

Get list of derived types


Method NewObject:Object()

Create a new object


Method IsInterface:Int()

Returns True if this TypeId is an interface.


Method Constants:TStringMap()

Get list of constants

Only returns constants declared in this type, not in super types.


Method Fields:TStringMap()

Get list of fields

Only returns fields declared in this type, not in super types.


Method Globals:TStringMap()

Get list of globals

Only returns globals declared in this type, not in super types.


Method Functions:TStringMap()

Get list of functions

Only returns functions declared in this type, not in super types.


Method Methods:TStringMap()

Get list of methods

Only returns methods declared in this type, not in super types.


Method Interfaces:TList()

Get list of implemented interfaces.


Method FindConstant:TConstant( name$ )

Find a constant by name

Searchs type hierarchy for constant called name.


Method FindField:TField( name$ )

Find a field by name

Searchs type hierarchy for field called name.


Method FindGlobal:TGlobal( name$ )

Find a global by name

Searchs type hierarchy for global called name.


Method FindFunction:TFunction(name:String)

Find a function by name

Searches type heirarchy for function called name


Method FindMethod:TMethod( name$ )

Find a method by name

Searchs type hierarchy for method called name.


Method EnumConstants:TList( list:TList=Null )

Enumerate all constants

Returns a list of all constants in type hierarchy


Method EnumFields:TList( list:TList=Null )

Enumerate all fields

Returns a list of all fields in type hierarchy


Method EnumGlobals:TList( list:TList=Null )

Enumerate all globals

Returns a list of all globals in type hierarchy


Method EnumFunctions:TList( list:TList=Null )

Enumerate all functions

Returns a list of all functions in type hierarchy


Method EnumMethods:TList( list:TList=Null )

Enumerate all methods

Returns a list of all methods in type hierarchy - TO DO: handle overrides!


Method NewArray:Object( length, dims:Int[] = Null )

Create a new array


Method ArrayLength( _array:Object, dim:Int = 0 )

Get array length


Method ArrayDimensions:Int( _array:Object )

Get the number of dimensions


Method GetArrayElement:Object( _array:Object,index )

Gets an array element


Method GetStringArrayElement:String( _array:Object,index )

Gets an array element as a String


Method GetByteArrayElement:Byte( _array:Object,index )

Gets an array element as a Byte


Method GetShortArrayElement:Short( _array:Object,index )

Gets an array element as a Short


Method GetIntArrayElement:Int( _array:Object,index )

Gets an array element as an Int


Method GetUIntArrayElement:UInt( _array:Object,index )

Gets an array element as a UInt


Method GetLongArrayElement:Long( _array:Object,index )

Gets an array element as a Long


Method GetULongArrayElement:ULong( _array:Object,index )

Gets an array element as a ULong


Method GetSizeTArrayElement:Size_T( _array:Object,index )

Gets an array element as a Size_T


Method GetFloatArrayElement:Float( _array:Object,index )

Gets an array element as a Float


Method GetDoubleArrayElement:Double( _array:Object,index )

Gets an array element as a Double


Method SetArrayElement( _array:Object,index,value:Object )

Sets an array element


Method SetArrayElement( _array:Object,index,value:Byte )

Sets an array element as a Byte


Method SetArrayElement( _array:Object,index,value:Short )

Sets an array element as a Short


Method SetArrayElement( _array:Object,index,value:Int )

Sets an array element as an Int


Method SetArrayElement( _array:Object,index,value:UInt )

Sets an array element as a UInt


Method SetArrayElement( _array:Object,index,value:Long )

Sets an array element as a Long


Method SetArrayElement( _array:Object,index,value:ULong )

Sets an array element as a ULong


Method SetArrayElement( _array:Object,index,value:Size_T )

Sets an array element as a Size_T


Method SetArrayElement( _array:Object,index,value:Float )

Sets an array element as a Float


Method SetArrayElement( _array:Object,index,value:Double )

Sets an array element as a Double


Method SetByteArrayElement( _array:Object,index,value:Byte )

Sets an array element as a Byte


Method SetShortArrayElement( _array:Object,index,value:Short )

Sets an array element as a Short


Method SetIntArrayElement( _array:Object,index,value:Int )

Sets an array element as a Int


Method SetUIntArrayElement( _array:Object,index,value:UInt )

Sets an array element as a UInt


Method SetLongArrayElement( _array:Object,index,value:Long )

Sets an array element as a Long


Method SetULongArrayElement( _array:Object,index,value:ULong )

Sets an array element as a ULong


Method SetSizeTArrayElement( _array:Object,index,value:Size_T )

Sets an array element as a Size_T


Method SetFloatArrayElement( _array:Object,index,value:Float )

Sets an array element as a Float


Method SetDoubleArrayElement( _array:Object,index,value:Double )

Sets an array element as a Double


Method SetStringArrayElement( _array:Object,index,value:String )

Sets an array element


Functions

Function ForName:TTypeId( name$ )

Get Type by name


Function ForObject:TTypeId( obj:Object )

Get Type by object


Function EnumTypes:TList()

Get list of all types


Function EnumInterfaces:TList()

Gets a list of all interfaces


← IntroductionTMember →
  • Methods
    • Method Name$()
    • Method MetaData$( key$="" )
    • Method HasMetaData:Int( key:String )
    • Method SuperType:TTypeId()
    • Method ArrayType:TTypeId(dims:Int = 1)
    • Method ElementType:TTypeId()
    • Method PointerType:TTypeId()
    • Method FunctionType:TTypeId( args:TTypeId[]=Null)
    • Method ReturnType:TTypeId()
    • Method ArgTypes:TTypeId[]()
    • Method ExtendsType( typeId:TTypeId )
    • Method DerivedTypes:TList()
    • Method NewObject:Object()
    • Method IsInterface:Int()
    • Method Constants:TStringMap()
    • Method Fields:TStringMap()
    • Method Globals:TStringMap()
    • Method Functions:TStringMap()
    • Method Methods:TStringMap()
    • Method Interfaces:TList()
    • Method FindConstant:TConstant( name$ )
    • Method FindField:TField( name$ )
    • Method FindGlobal:TGlobal( name$ )
    • Method FindFunction:TFunction(name:String)
    • Method FindMethod:TMethod( name$ )
    • Method EnumConstants:TList( list:TList=Null )
    • Method EnumFields:TList( list:TList=Null )
    • Method EnumGlobals:TList( list:TList=Null )
    • Method EnumFunctions:TList( list:TList=Null )
    • Method EnumMethods:TList( list:TList=Null )
    • Method NewArray:Object( length, dims:Int[] = Null )
    • Method ArrayLength( _array:Object, dim:Int = 0 )
    • Method ArrayDimensions:Int( _array:Object )
    • Method GetArrayElement:Object( _array:Object,index )
    • Method GetStringArrayElement:String( _array:Object,index )
    • Method GetByteArrayElement:Byte( _array:Object,index )
    • Method GetShortArrayElement:Short( _array:Object,index )
    • Method GetIntArrayElement:Int( _array:Object,index )
    • Method GetUIntArrayElement:UInt( _array:Object,index )
    • Method GetLongArrayElement:Long( _array:Object,index )
    • Method GetULongArrayElement:ULong( _array:Object,index )
    • Method GetSizeTArrayElement:Size_T( _array:Object,index )
    • Method GetFloatArrayElement:Float( _array:Object,index )
    • Method GetDoubleArrayElement:Double( _array:Object,index )
    • Method SetArrayElement( _array:Object,index,value:Object )
    • Method SetArrayElement( _array:Object,index,value:Byte )
    • Method SetArrayElement( _array:Object,index,value:Short )
    • Method SetArrayElement( _array:Object,index,value:Int )
    • Method SetArrayElement( _array:Object,index,value:UInt )
    • Method SetArrayElement( _array:Object,index,value:Long )
    • Method SetArrayElement( _array:Object,index,value:ULong )
    • Method SetArrayElement( _array:Object,index,value:Size_T )
    • Method SetArrayElement( _array:Object,index,value:Float )
    • Method SetArrayElement( _array:Object,index,value:Double )
    • Method SetByteArrayElement( _array:Object,index,value:Byte )
    • Method SetShortArrayElement( _array:Object,index,value:Short )
    • Method SetIntArrayElement( _array:Object,index,value:Int )
    • Method SetUIntArrayElement( _array:Object,index,value:UInt )
    • Method SetLongArrayElement( _array:Object,index,value:Long )
    • Method SetULongArrayElement( _array:Object,index,value:ULong )
    • Method SetSizeTArrayElement( _array:Object,index,value:Size_T )
    • Method SetFloatArrayElement( _array:Object,index,value:Float )
    • Method SetDoubleArrayElement( _array:Object,index,value:Double )
    • Method SetStringArrayElement( _array:Object,index,value:String )
  • Functions
    • Function ForName:TTypeId( name$ )
    • Function ForObject:TTypeId( obj:Object )
    • Function EnumTypes:TList()
    • Function EnumInterfaces:TList()
BlitzMax
Docs
Getting StartedDownloadsAbout
Community
ResourcesSyntaxBomb Forums
More
GitHubStarChat on Discord
Copyright © 2023 Bruce A Henderson