Public Methods | |
oaVCVersion () | |
oaVCVersion (const oaChar *sysName, const oaChar *displayName=NULL) | |
oaVCVersion (const oaVCVersion &ver) | |
~oaVCVersion () | |
void | getVCSystemName (oaString &sysName) const |
void | setDisplayName (const oaChar *sysName, const oaChar *displayName) |
void | getDisplayName (oaString &name) const |
oaVersionComp | compare (const oaVCVersion *other) const |
oaVCVersion & | operator= (const oaVCVersion &ver) |
void * | getRaw () const |
|
This is the default constructor for the oaVCVersion class. |
|
This constructor for the oaVCVersion class finds the version control interface (if any) from the sysName passed in and creates an IVersion interface from that, using the display name. If the version control system of the given name doesn't exist, the "info" member will be NULL.
|
|
This is the copy constructor for the oaVCVersion constructor.
|
|
This is the oaVCVersion destructor. |
|
This function compares two versions. This is a legal operation even if the version objects were generated from different version control systems. In that case, the most likely return value will be "oacVersionCompIncompatable".
|
|
This function returns the display name of this version object.
|
|
This function returns an IVersion pointer to the version object referenced by this object. This function is useful when using the oaVCVersionIter::getNext() function -- when the getRaw() function returns a NULL pointer, the iteration is finished. |
|
This function returns the version control system name of the version object.
|
|
This function is the assignment operator for the oaVCVersion class. It copies the IVersion pointer and adds a reference to it.
|
|
This function sets the display name of this version object by calling into the VC system and having it create a new version object.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.