Class: T

ProtoBuf.Reflect. T

new T(parent, name)

Constructs a Reflect base class.

Parameters:
Name Type Description
parent ProtoBuf.Reflect.T

Parent object

name string

Object name

Members

name :string

Object name in namespace.

parent :ProtoBuf.Reflect.T|null

Parent object.

Methods

build()

Builds this type.

Throws:
If this type cannot be built directly
Type
Error

fqn() → {string}

Returns the fully qualified name of this object.

Returns:

Fully qualified name as of ".PATH.TO.THIS"

Type
string

toString(includeClass)

Returns a string representation of this Reflect object (its fully qualified name).

Parameters:
Name Type Argument Description
includeClass boolean <optional>

Set to true to include the class name. Defaults to false.

Returns:

String representation