Home

AcisVersion Class Reference
[Versioning]

Creates an AcisVersion object. More...

#include <vers.hxx>

Inheritance diagram for AcisVersion:

Inheritance graph
[legend]
Collaboration diagram for AcisVersion:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int acis_major ()
 Returns the major version number.
int acis_minor ()
 Returns the minor version number.
int acis_point ()
 Returns the point version number.
 AcisVersion (int tag)
 Constructs an AcisVersion object from the given tag.
 AcisVersion (int major, int minor, int point)
 Creates an AcisVersion object from the given input.
 AcisVersion ()
 Default constructor.
AcisVersionoperator= (const AcisVersion &in)
 Operator equal.
int tag ()
 Returns the version tag.

Friends

logical operator!= (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for inequality.
logical operator< (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for less than.
logical operator<= (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for less than or equal to.
logical operator== (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for equality.
logical operator> (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for greater than.
logical operator>= (AcisVersion const &vt1, AcisVersion const &vt2)
 Compares two AcisVersion objects for greater than or equal to.


Detailed Description

Creates an AcisVersion object.


Role: This creates an AcisVersion object. When used with the AcisOptions object, it allows the user to specify which algorithmic version of ACIS to execute. Algorithmic versioning allows you to guarantee the exact regeneration of geometric and topological construction by calling APIs with specific version information.

See also:
ALGORITHMIC_VERSION_BLOCK, GET_ALGORITHMIC_VERSION, AcisOptions

Constructor & Destructor Documentation

AcisVersion::AcisVersion (  ) 

Default constructor.

AcisVersion::AcisVersion ( int  major,
int  minor,
int  point 
)

Creates an AcisVersion object from the given input.



Parameters:
major major version.
minor minor version.
point point version.

AcisVersion::AcisVersion ( int  tag  ) 

Constructs an AcisVersion object from the given tag.



Role: The ACIS version tag is an integral value which meets the following criteria: for ACIS 6.3.1, the tag would equal 6*10000 + 3*100 + 1 = 60301. So if you provided the integral value 60301 to this constructor, you would be creating an AcisVersion object with the version set to 6.3.1.

Parameters:
tag version tag.


Member Function Documentation

int AcisVersion::acis_major (  ) 

Returns the major version number.

int AcisVersion::acis_minor (  ) 

Returns the minor version number.

int AcisVersion::acis_point (  ) 

Returns the point version number.

AcisVersion& AcisVersion::operator= ( const AcisVersion in  ) 

Operator equal.



Role: Use to assign one AcisVersion object to another.

Parameters:
in AcisVersion to copy.

int AcisVersion::tag (  ) 

Returns the version tag.



Role: The ACIS version tag is an integral value which meets the following criteria: for ACIS 6.3.1, the tag would equal 6*10000 + 3*100 + 1 = 60301. So if you've constructed an AcisVersion object for ACIS 6.3.1, this method will return the value 60301.


Friends And Related Function Documentation

logical operator!= ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for inequality.



Parameters:
avL left AcisVersion.
avR right AcisVersion.

logical operator< ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for less than.



Parameters:
avL left AcisVersion.
avR right AcisVersion.

logical operator<= ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for less than or equal to.



Parameters:
avL left AcisVersion.
avR right AcisVersion.

logical operator== ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for equality.



Parameters:
avL left AcisVersion.
avR right AcisVersion.

logical operator> ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for greater than.



Parameters:
avL left AcisVersion.
avR right AcisVersion.

logical operator>= ( AcisVersion const &  vt1,
AcisVersion const &  vt2 
) [friend]

Compares two AcisVersion objects for greater than or equal to.



Parameters:
avL left AcisVersion.
avR right AcisVersion.