Class RdbItemValue (version 0.20)Description: A RDB value object Value objects are attached to items to provide markers. An arbitrary number of such value objects can be attached to an item. Currently, a value can represent a box, a polygon or an edge. Geometrical objects are represented in micron units and are therefore "D" type objects (DPolygon, DEdge and DBox).
Method Overview
assign( RdbItemValue other )Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.
[const] DBox boxDescription: Gets the box if the value represents one or nil if it does not.
destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.
[const] bool destroyedDescription: Tell, if the object was destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.
[const] RdbItemValue dupDescription: Creates a copy of self.
[const] DEdge edgeDescription: Gets the edge if the value represents one or nil if it does not.
[static] RdbItemValue from_s( string )Description: Creates a value object from a string The string format is the same than obtained by the to_s method.
[const] bool is_box?Description: Returns true if the value object represents a box
[const] bool is_edge?Description: Returns true if the value object represents an edge
[const] bool is_polygon?Description: Returns true if the value object represents a polygon
[const] bool is_string?Description: Returns true if the value object represents a string
[static] ref RdbItemValue new( string )Description: Creates a value representing a string
[static] ref RdbItemValue new( DPolygon )Description: Creates a value representing a DPolygon object
[static] ref RdbItemValue new( DBox )Description: Creates a value representing a DBox object
[static] ref RdbItemValue new( DEdge )Description: Creates a value representing a DEdge object
[const] DPolygon polygonDescription: Gets the polygon if the value represents one or nil if it does not.
[const] string stringDescription: Gets the string if the value represents one or nil if it does not.
[const] string to_sDescription: Converts a value to a string The string can be used by the string constructor to create another object from it.
|