NX Open C++ Reference Guide
|
Represents an argument for enumeration type data. More...
Public Member Functions | |
int | DefaultValue () |
Returns the argument default value. More... | |
void | GetEnumerationOptions (std::vector< NXString > &enumerationOptions) |
Gets the enumeration options. More... | |
void | SetDefaultValue (int defaultValueIndex) |
Sets the argument default value. More... | |
void | SetEnumerationOptions (std::vector< NXString > &enumerationOptions) |
Sets the enumeration options. More... | |
Public Member Functions inherited from NXOpen::Report::BaseArgument | |
NXString | DisplayName () |
Returns the argument display name Created in NX11.0.0. More... | |
virtual NXOpen::INXObject * | FindObject (const NXString &journalIdentifier) |
Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More... | |
virtual NXOpen::INXObject * | FindObject (const char *journalIdentifier) |
Finds the NXOpen::NXObject with the given identifier as recorded in a journal. More... | |
NXString | Hint () |
Returns the argument hint. More... | |
virtual bool | IsOccurrence () |
Returns whether this object is an occurrence or not. More... | |
virtual NXString | JournalIdentifier () |
Returns the identifier that would be recorded in a journal for this object. More... | |
virtual NXString | Name () |
Returns the custom name of the object. More... | |
bool | Optional () |
Returns. More... | |
virtual NXOpen::Assemblies::Component * | OwningComponent () |
Returns the owning component, if this object is an occurrence. More... | |
virtual NXOpen::BasePart * | OwningPart () |
Returns the owning part of this object Created in NX3.0.0. More... | |
virtual void | Print () |
Prints a representation of this object to the system log file. More... | |
virtual NXOpen::INXObject * | Prototype () |
Returns the prototype of this object if it is an occurrence. More... | |
void | SetDisplayName (const NXString &displayName) |
Sets the argument display name Created in NX11.0.0. More... | |
void | SetDisplayName (const char *displayName) |
Sets the argument display name Created in NX11.0.0. More... | |
void | SetHint (const NXString &argumentHint) |
Sets the argument hint. More... | |
void | SetHint (const char *argumentHint) |
Sets the argument hint. More... | |
virtual void | SetName (const NXString &name) |
Sets the custom name of the object. More... | |
virtual void | SetName (const char *name) |
Sets the custom name of the object. More... | |
void | SetOptional (bool isOptional) |
Sets. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Additional Inherited Members | |
Public Types inherited from NXOpen::Report::BaseArgument | |
enum | Type { TypeInteger, TypeDouble, TypeString, TypeEnumeration } |
Represents the argument type. More... | |
Represents an argument for enumeration type data.
Not support KF.
Created in NX11.0.0.
int NXOpen::Report::EnumerationArgument::DefaultValue | ( | ) |
Returns the argument default value.
The default value index is between 0 and options count queried by NXOpen::Report::EnumerationArgument::GetEnumerationOptions , 0 is inclusive.
Created in NX11.0.0.
License requirements : None
void NXOpen::Report::EnumerationArgument::GetEnumerationOptions | ( | std::vector< NXString > & | enumerationOptions | ) |
Gets the enumeration options.
Created in NX11.0.0.
License requirements : None
enumerationOptions | enumerationoptions |
void NXOpen::Report::EnumerationArgument::SetDefaultValue | ( | int | defaultValueIndex | ) |
Sets the argument default value.
The default value index is between 0 and options count queried by NXOpen::Report::EnumerationArgument::GetEnumerationOptions , 0 is inclusive.
Created in NX11.0.0.
License requirements : None
defaultValueIndex | defaultvalueindex |
void NXOpen::Report::EnumerationArgument::SetEnumerationOptions | ( | std::vector< NXString > & | enumerationOptions | ) |
Sets the enumeration options.
Created in NX11.0.0.
License requirements : None
enumerationOptions | enumerationoptions |