System class CATUuid
Usage: you must use this class as is. You should never derive it.
public class CATUuid
Class that generates Unique Universal Identifier.
It is of the form :
Constructor and Destructor Index
- o
CATUuid()
- Constructs a Unique Universal Identifier.
- o
CATUuid(char*)
- Constructs a Unique Universal Identifier.
- o
CATUuid(CATUuid&)
- Copy constructor.
Method Index
- o
UUID_to_chaine(char*,unsigned int)
- Transform a UUID into a character string.
- o
UUID_to_struct(char*)
- Transform a UUID into a C structure form.
- o
get(unsigned char[16])
- Method used to get the UUID value of the given object.
- o
operator !=(CATUuid&)
- Comparison operator.
- o
operator =(char* const)
- Affectation operator.
- o
operator =(CATUuid&)
- Affectation operator.
- o
operator ==(CATUuid&)
- Comparison operator.
- o
set(unsigned char[16])
- Method used to set the UUID value of the given object.
Constructor and Destructor
o CATUuid
-
Constructs a Unique Universal Identifier.
o CATUuid
public CATUuid( | char* | iChar) |
-
Constructs a Unique Universal Identifier.
- Parameters:
-
- iChar
- the UUID in a character form.
o CATUuid
-
Copy constructor.
Methods
o UUID_to_chaine
public void UUID_to_chaine( | char* | oChar, |
| unsigned int | iMaxChaineSize | = 0) |
-
Transform a UUID into a character string.
- Parameters:
-
- oChar
- the UUID in a character form. This string (oChar) must have
at least a size of CATUUID_BUFFSIZE, which is defined upper.
- iMaxChaineSize
- Used to define the maximum number of char writable in oChar.
Default value is 0 and will write CATUUID_BUFFSIZE.
o UUID_to_struct
public void UUID_to_struct( | char* | oStruct) |
-
Transform a UUID into a C structure form.
- Parameters:
-
- oStruct
- the UUID in a C structure form.
o get
public void get( | unsigned char[16] | oChar) const |
-
Method used to get the UUID value of the given object.
- Parameters:
-
- oChar
- the output value of the UUID.
o operator !=
public int operator !=( | const CATUuid& | iUUID) const |
-
Comparison operator.
- Parameters:
-
- iUUID
- the input UUID.
o operator =
public CATUuid operator =( | const char* const | iChar) |
-
Affectation operator.
- Parameters:
-
- iChar
- the input character form of a UUID.
o operator =
-
Affectation operator.
- Parameters:
-
- iUUID
- the input UUID.
o operator ==
public int operator ==( | const CATUuid& | iUUID) const |
-
Comparison operator.
- Parameters:
-
- iUUID
- the input UUID.
o set
public void set( | unsigned char[16] | iChar) |
-
Method used to set the UUID value of the given object.
- Parameters:
-
- iChar
- the input value of the UUID.
This object is included in the file: CATUuid.h
If needed, your Imakefile.mk should include the module: JS0GROUP
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.