NX Open C++ Reference Guide
|
A Condition within a VisualReporting::Rule . More...
A Condition within a VisualReporting::Rule .
Created in NX7.0.0.
Represents the possible operator type options.
for a VisualReporting::Condition .
Represents the possible type options for a VisualReporting::Condition .
If the type is a VisualReporting::Condition::TypeOptionValueCondition the type of value can be found from VisualReporting::Condition::Datatype .
Returns the VisualReporting::Property::DatatypeOption of this VisualReporting::Condition .
The returned data type will never be VisualReporting::Property::DatatypeOptionUnknown .
Note that this VisualReporting::Condition::Datatype cannot be modified. Instead it is specified when creating this VisualReporting::Condition by using the appropriate function:
Note that the VisualReporting::Condition s created using the following functions do not have VisualReporting::Property::DatatypeOption s and calling this function will cause an error for these:
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
Returns the description for this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
NXOpen::VisualReporting::Condition* NXOpen::VisualReporting::Condition::GetChildCondition | ( | int | index | ) |
Return the specified child Condition from this VisualReporting::Condition.
index | The index of the returned Condition. |
std::vector<NXOpen::VisualReporting::Condition *> NXOpen::VisualReporting::Condition::GetChildConditions | ( | ) |
Returns all the child Conditions in this VisualReporting::Condition.
Returns whether this VisualReporting::Condition requires user input.
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
bool NXOpen::VisualReporting::Condition::IsChildCondition | ( | NXOpen::VisualReporting::Condition * | childCondition | ) |
Returns whether the given VisualReporting::Condition is an immediate child of this condition.
childCondition | The possible child Condition |
NXOpen::VisualReporting::Condition::OperatorOption NXOpen::VisualReporting::Condition::OperatorType | ( | ) |
Returns the VisualReporting::Condition::OperatorOption of this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
Returns the parent condition of this VisualReporting::Condition .
If this condition has no parent or if the parent isn't a condition then this returns NULL.
Note that this VisualReporting::Condition::ParentCondition cannot be modified. Instead it is determined when inserting this VisualReporting::Condition in the VisualReporting::Rule by using the appropriate function:
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
Returns the VisualReporting::Property of this VisualReporting::Condition .
If the VisualReporting::Property is set to NULL, then it is deleted. Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
void NXOpen::VisualReporting::Condition::SetDescription | ( | const NXString & | description | ) |
Sets the description for this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
description | description |
void NXOpen::VisualReporting::Condition::SetHasUserSpecifiedValue | ( | bool | isUserSpecified | ) |
Sets whether this VisualReporting::Condition requires user input.
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
isUserSpecified | isuserspecified |
void NXOpen::VisualReporting::Condition::SetOperatorType | ( | NXOpen::VisualReporting::Condition::OperatorOption | operatorType | ) |
Sets the VisualReporting::Condition::OperatorOption of this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
operatorType | operatortype |
void NXOpen::VisualReporting::Condition::SetProperty | ( | NXOpen::VisualReporting::Property * | property | ) |
Sets the VisualReporting::Property of this VisualReporting::Condition .
If the VisualReporting::Property is set to NULL, then it is deleted. Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
property | property |
void NXOpen::VisualReporting::Condition::SetUserPrompt | ( | const NXString & | userPrompt | ) |
Sets the user prompt for this VisualReporting::Condition .
Only useful for a condition where VisualReporting::Condition::HasUserSpecifiedValue is true. Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
userPrompt | userprompt |
void NXOpen::VisualReporting::Condition::SetValue | ( | const NXString & | conditionValue | ) |
Sets the value of this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
conditionValue | conditionvalue |
Returns the VisualReporting::Condition::TypeOption of this VisualReporting::Condition.
Note that this VisualReporting::Condition::Type cannot be modified. Instead it is determined when creating this VisualReporting::Condition by using the appropriate function:
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
Returns the user prompt for this VisualReporting::Condition .
Only useful for a condition where VisualReporting::Condition::HasUserSpecifiedValue is true. Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX7.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")
Returns the value of this VisualReporting::Condition .
Only valid for a VisualReporting::Condition whose VisualReporting::Condition::Type is VisualReporting::Condition::TypeOptionValueCondition
Created in NX8.0.0.
License requirements : nx_visual_reporting ("Visual Reporting")