NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Validate::CheckerNode Class Reference

Represents a checker that validator will use to check against part node. More...

Inheritance diagram for NXOpen::Validate::CheckerNode:
NXOpen::TransientObject

Public Member Functions

NXString AttributeCustomizedFormulas ()
 Returns the customized formula lines of checker. More...
 
NXString ClassName ()
 Returns the checker class name
Created in NX7.5.0. More...
 
bool GetChildCheckerEnabledFlag (const NXString &childCheckerInstance)
 Gets enable flag of child checker instance in a profile checker. More...
 
bool GetChildCheckerEnabledFlag (const char *childCheckerInstance)
 Gets enable flag of child checker instance in a profile checker. More...
 
std::vector< bool > GetChildCheckerEnabledFlags (std::vector< NXString > &childCheckerInstances)
 Gets child checker instance names and enable flags in a profile checker. More...
 
std::vector< NXStringGetChildCheckerInstanceNames ()
 Gets child checker instance names in a profile checker. More...
 
void SetAttributeCustomizedFormulas (const NXString &formulaLines)
 Sets the customized formula lines of checker. More...
 
void SetAttributeCustomizedFormulas (const char *formulaLines)
 Sets the customized formula lines of checker. More...
 
void SetChildCheckerEnabledFlag (const NXString &childCheckerInstance, bool enableFlag)
 Sets enable flag of child checker instance in a profile checker. More...
 
void SetChildCheckerEnabledFlag (const char *childCheckerInstance, bool enableFlag)
 Sets enable flag of child checker instance in a profile checker. More...
 
void SetChildCheckerEnabledFlags (std::vector< NXString > &childCheckerInstances, const std::vector< bool > &enableFlags)
 Sets child checker enable flags in a profile checker. More...
 
void SetClassName (const NXString &className)
 Sets the checker class name
Created in NX7.5.0. More...
 
void SetClassName (const char *className)
 Sets the checker class name
Created in NX7.5.0. More...
 
virtual ~CheckerNode ()
 Frees the object from memory. More...
 
- Public Member Functions inherited from NXOpen::TransientObject
void * GetHandle ()
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents a checker that validator will use to check against part node.


Checker node contains the information of checker class name and checker parameter attribute values. If the checker class is a profile which contains child checker instances, you can set the enable flags to the child checker instances in the profile checker class to turn on or off the child checker instances.


Created in NX7.5.0.

Constructor & Destructor Documentation

virtual NXOpen::Validate::CheckerNode::~CheckerNode ( )
virtual

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX7.5.0.

License requirements : None

Member Function Documentation

NXString NXOpen::Validate::CheckerNode::AttributeCustomizedFormulas ( )

Returns the customized formula lines of checker.


For example:

"Disabled?;False;save_log_in_part;True"

For more information, see the Knowledge Fusion and NX Open section of the Knowledge Fusion Help.


Created in NX7.5.0.

License requirements : None

NXString NXOpen::Validate::CheckerNode::ClassName ( )

Returns the checker class name
Created in NX7.5.0.



License requirements : None

bool NXOpen::Validate::CheckerNode::GetChildCheckerEnabledFlag ( const NXString childCheckerInstance)

Gets enable flag of child checker instance in a profile checker.

Returns
The enable flag of child checker in the profile checker.
Created in NX7.5.0.

License requirements : None
Parameters
childCheckerInstanceThe instance name of child checker in the profile checker
bool NXOpen::Validate::CheckerNode::GetChildCheckerEnabledFlag ( const char *  childCheckerInstance)

Gets enable flag of child checker instance in a profile checker.

Returns
The enable flag of child checker in the profile checker.
Created in NX7.5.0.

License requirements : None
Parameters
childCheckerInstanceThe instance name of child checker in the profile checker
std::vector<bool> NXOpen::Validate::CheckerNode::GetChildCheckerEnabledFlags ( std::vector< NXString > &  childCheckerInstances)

Gets child checker instance names and enable flags in a profile checker.

Returns
The enable flags of child checkers in the profile checker
Created in NX7.5.0.

License requirements : None
Parameters
childCheckerInstancesThe instance names of child checkers in the profile checker
std::vector<NXString> NXOpen::Validate::CheckerNode::GetChildCheckerInstanceNames ( )

Gets child checker instance names in a profile checker.

Returns
The instance names of child checkers in the profile checker
Created in NX7.5.0.

License requirements : None
void NXOpen::Validate::CheckerNode::SetAttributeCustomizedFormulas ( const NXString formulaLines)

Sets the customized formula lines of checker.


For example:

"Disabled?;False;save_log_in_part;True"

For more information, see the Knowledge Fusion and NX Open section of the Knowledge Fusion Help.


Created in NX7.5.0.

License requirements : None

Parameters
formulaLinesThe formula lines of checker
void NXOpen::Validate::CheckerNode::SetAttributeCustomizedFormulas ( const char *  formulaLines)

Sets the customized formula lines of checker.


For example:

"Disabled?;False;save_log_in_part;True"

For more information, see the Knowledge Fusion and NX Open section of the Knowledge Fusion Help.


Created in NX7.5.0.

License requirements : None

Parameters
formulaLinesThe formula lines of checker
void NXOpen::Validate::CheckerNode::SetChildCheckerEnabledFlag ( const NXString childCheckerInstance,
bool  enableFlag 
)

Sets enable flag of child checker instance in a profile checker.


Created in NX7.5.0.

License requirements : None

Parameters
childCheckerInstanceThe instance name of child checker in the profile checker
enableFlagThe enable flag of child checker in the profile checker.
void NXOpen::Validate::CheckerNode::SetChildCheckerEnabledFlag ( const char *  childCheckerInstance,
bool  enableFlag 
)

Sets enable flag of child checker instance in a profile checker.


Created in NX7.5.0.

License requirements : None

Parameters
childCheckerInstanceThe instance name of child checker in the profile checker
enableFlagThe enable flag of child checker in the profile checker.
void NXOpen::Validate::CheckerNode::SetChildCheckerEnabledFlags ( std::vector< NXString > &  childCheckerInstances,
const std::vector< bool > &  enableFlags 
)

Sets child checker enable flags in a profile checker.


Created in NX7.5.0.

License requirements : None

Parameters
childCheckerInstancesThe instance names of child checkers in the profile checker
enableFlagsThe enable flags of child checkers in the profile checker
void NXOpen::Validate::CheckerNode::SetClassName ( const NXString className)

Sets the checker class name
Created in NX7.5.0.



License requirements : None

Parameters
classNamechecker class name
void NXOpen::Validate::CheckerNode::SetClassName ( const char *  className)

Sets the checker class name
Created in NX7.5.0.



License requirements : None

Parameters
classNamechecker class name

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.