NAME
Tangence::Meta::Property
- structure representing one Tangence
property
DESCRIPTION
This data structure object stores information about one Tangence class property. Once constructed, such objects are immutable.
CONSTRUCTOR
$property = Tangence::Meta::Property->new( %args )
Returns a new instance initialised by the given arguments.
- class => Tangence::Meta::Class
-
Reference to the containing class
- name => STRING
-
Name of the property
- dimension => INT
-
Dimension of the property, as one of the
DIM_*
constants from Tangence::Constants. - type => STRING
-
String giving the type as a string.
- smashed => BOOL
-
Optional. If true, marks that the property is smashed.
ACCESSORS
$class = $property->class
Returns the class the property is a member of
$name = $property->name
Returns the name of the class
$dimension = $property->dimension
Returns the dimension as one of the DIM_*
constants.
$type = $property->type
Returns the type as a string.
$smashed = $property->smashed
Returns true if the property is smashed.
AUTHOR
Paul Evans <leonerd@leonerd.org.uk>