NXOpen C++ Reference Guide
|
Represents a. More...
Classes | |
struct | SortData |
Sort data used to specify column position and sorting direction. More... | |
Public Types | |
enum | MethodType { MethodTypeAlphabetic, MethodTypeAlphanumeric, MethodTypeManual } |
The sorting method types. More... | |
enum | SortingDirection { SortingDirectionDescending, SortingDirectionAscending } |
The sorting direction. More... | |
Public Member Functions | |
std::vector< int > | GetManualSortRowList () |
Returns manual sort row order. More... | |
std::vector < NXOpen::Annotations::TableCommonSortingBuilder::SortData > | GetSortingData () |
Get sorting data. More... | |
NXOpen::Annotations::TableCommonSortingBuilder::MethodType | Method () |
Returns the sorting method Created in NX1847.0.0. More... | |
void | SetManualSortRowList (const std::vector< int > &rowList) |
Sets manual sort row order. More... | |
void | SetMethod (NXOpen::Annotations::TableCommonSortingBuilder::MethodType method) |
Sets the sorting method Created in NX1847.0.0. More... | |
void | SetSortingData (const std::vector< NXOpen::Annotations::TableCommonSortingBuilder::SortData > &sortingData) |
Set sorting data. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a.
Annotations.TableCommonSortingBuilder
Created in NX1847.0.0.
std::vector<int> NXOpen::Annotations::TableCommonSortingBuilder::GetManualSortRowList | ( | ) |
Returns manual sort row order.
This should be used when NXOpen::Annotations::TableCommonSortingBuilder::Method and NXOpen::Annotations::TableCommonSortingBuilder::SetMethod is NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeManual .
std::vector<NXOpen::Annotations::TableCommonSortingBuilder::SortData> NXOpen::Annotations::TableCommonSortingBuilder::GetSortingData | ( | ) |
Get sorting data.
This should be used when NXOpen::Annotations::TableCommonSortingBuilder::Method and NXOpen::Annotations::TableCommonSortingBuilder::SetMethod is NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeAlphabetic or NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeAlphanumeric
NXOpen::Annotations::TableCommonSortingBuilder::MethodType NXOpen::Annotations::TableCommonSortingBuilder::Method | ( | ) |
Returns the sorting method
Created in NX1847.0.0.
License requirements : None
void NXOpen::Annotations::TableCommonSortingBuilder::SetManualSortRowList | ( | const std::vector< int > & | rowList | ) |
Sets manual sort row order.
This should be used when NXOpen::Annotations::TableCommonSortingBuilder::Method and NXOpen::Annotations::TableCommonSortingBuilder::SetMethod is NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeManual .
Created in NX1847.0.0.
License requirements : None
rowList | Array of row indices for manual sorting |
void NXOpen::Annotations::TableCommonSortingBuilder::SetMethod | ( | NXOpen::Annotations::TableCommonSortingBuilder::MethodType | method | ) |
Sets the sorting method
Created in NX1847.0.0.
License requirements : None
method | Sort method |
void NXOpen::Annotations::TableCommonSortingBuilder::SetSortingData | ( | const std::vector< NXOpen::Annotations::TableCommonSortingBuilder::SortData > & | sortingData | ) |
Set sorting data.
This should be used when NXOpen::Annotations::TableCommonSortingBuilder::Method and NXOpen::Annotations::TableCommonSortingBuilder::SetMethod is NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeAlphabetic or NXOpen::Annotations::TableCommonSortingBuilder::MethodTypeAlphanumeric
Created in NX1847.0.0.
License requirements : None
sortingData | Array of sorting data for Alphabetic/Alphanumeric sorting |
|
virtual |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Implements NXOpen::GeometricUtilities::IComponentBuilder.