Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Units_UnitsDictionary Class Reference

This class creates a dictionary of all the units
you want to know.

#include <Units_UnitsDictionary.hxx>

Inheritance diagram for Units_UnitsDictionary:
Inheritance graph
[legend]

Public Member Functions

 Units_UnitsDictionary ()
 Returns an empty instance of UnitsDictionary.

void Creates (const Standard_CString afilename)
 Returns a UnitsDictionary object which contains the
sequence of all the units you want to consider,
physical quantity by physical quantity.

Handle_Units_QuantitiesSequence Sequence () const
 Returns the head of the sequence of physical
quantities.

Standard_Boolean UpToDate () const
 Returns true if there has been no modification of the
file Units.dat since the creation of the dictionary
object, false otherwise.

TCollection_AsciiString ActiveUnit (const Standard_CString aquantity) const
 Returns for <aquantity> the active unit.

void Dump (const Standard_Integer alevel) const
 Dumps only the sequence of quantities without the
units if <alevel> is equal to zero, and for each
quantity all the units stored if <alevel> is equal to
one.

void Dump (const Handle< Units_Dimensions > &adimensions) const
 Dumps for a designated physical dimensions
<adimensions> all the previously stored units.


Constructor & Destructor Documentation


Member Function Documentation

Handle_Units_QuantitiesSequence Units_UnitsDictionary::Sequence ( ) const

The documentation for this class was generated from the following file: