The HPS::Exchange::ExportJTOptionsKit class is a user space object. More...
#include <sprk_exchange.h>
Public Member Functions | |
ExportJTOptionsKit () | |
The default constructor creates an empty ExportJTOptionsKit object. More... | |
ExportJTOptionsKit (ExportJTOptionsKit const &in_kit) | |
The copy constructor creates a new ExportJTOptionsKit object that contains the same settings as the source ExportJTOptionsKit. More... | |
ExportJTOptionsKit (ExportJTOptionsKit &&in_that) | |
The move constructor creates an ExportJTOptionsKit by transferring the underlying object of the rvalue reference to this ExportJTOptionsKit. More... | |
virtual | ~ExportJTOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (ExportJTOptionsKit const &in_kit) |
Copies the source ExportJTOptionsKit into this ExportJTOptionsKit. More... | |
void | Show (ExportJTOptionsKit &out_kit) const |
Copies this ExportJTOptionsKit into the given ExportJTOptionsKit. More... | |
ExportJTOptionsKit & | operator= (ExportJTOptionsKit const &in_kit) |
Copies the source ExportJTOptionsKit into this ExportJTOptionsKit. More... | |
ExportJTOptionsKit & | operator= (ExportJTOptionsKit &&in_that) |
The move assignment operator transfers the underlying object of the rvalue reference to this ExportJTOptionsKit. More... | |
bool | Empty () const |
Indicates whether this ExportJTOptionsKit has any values set on it. More... | |
bool | Equals (ExportJTOptionsKit const &in_kit) const |
Check if the source ExportJTOptionsKit is equivalent to this ExportJTOptionsKit. More... | |
bool | operator== (ExportJTOptionsKit const &in_kit) const |
Check if the source ExportJTOptionsKit is equivalent to this ExportJTOptionsKit. More... | |
bool | operator!= (ExportJTOptionsKit const &in_kit) const |
Check if the source ExportJTOptionsKit is not equivalent to this ExportJTOptionsKit. More... | |
ExportJTOptionsKit & | SetContent (JT::Content in_content) |
Sets the type of data to export. More... | |
ExportJTOptionsKit & | SetHiddenObjects (bool in_state) |
Sets whether to export hidden objects. More... | |
ExportJTOptionsKit & | SetPMI (bool in_state) |
Sets whether to export PMI. More... | |
ExportJTOptionsKit & | SetVersion (JT::Version in_version) |
Sets the version of the JT format to export. More... | |
ExportJTOptionsKit & | UnsetContent () |
Removes the content export setting. More... | |
ExportJTOptionsKit & | UnsetHiddenObjects () |
Removes the hidden objects export setting. More... | |
ExportJTOptionsKit & | UnsetPMI () |
Removes the PMI export setting. More... | |
ExportJTOptionsKit & | UnsetVersion () |
Removes the version export setting. More... | |
ExportJTOptionsKit & | UnsetEverything () |
Removes all settings from this ExportJTOptionsKit. More... | |
bool | ShowContent (JT::Content &out_content) const |
Shows the content export setting. More... | |
bool | ShowHiddenObjects (bool &out_state) const |
Shows the hidden object export setting. More... | |
bool | ShowPMI (bool &out_state) const |
Shows the PMI export setting. More... | |
bool | ShowVersion (JT::Version &out_version) const |
Shows the version export setting. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS::Type in_mask) const |
This function indicates whether this Object has the given Type mask. More... | |
intptr_t | GetClassID () const |
Returns a unique identifier that is shared by all objects of the same class. More... | |
intptr_t | GetInstanceID () const |
Returns an identifier that can be used to identify which instance of a class an object is. More... | |
Static Public Member Functions | |
static ExportJTOptionsKit | GetDefault () |
Creates an ExportJTOptionsKit which contains the default settings. More... | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::ExchangeExportJTOptionsKit |
The HPS::Exchange::ExportJTOptionsKit class is a user space object.
It contains settings controlling how JT data is exported via Exchange. Calling HPS::Exchange::ExportJTOptionsKit::GetDefault() will return an options kit with values found in here.
HPS::Exchange::ExportJTOptionsKit::ExportJTOptionsKit | ( | ) |
The default constructor creates an empty ExportJTOptionsKit object.
HPS::Exchange::ExportJTOptionsKit::ExportJTOptionsKit | ( | ExportJTOptionsKit const & | in_kit | ) |
The copy constructor creates a new ExportJTOptionsKit object that contains the same settings as the source ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to copy. |
HPS::Exchange::ExportJTOptionsKit::ExportJTOptionsKit | ( | ExportJTOptionsKit && | in_that | ) |
The move constructor creates an ExportJTOptionsKit by transferring the underlying object of the rvalue reference to this ExportJTOptionsKit.
in_that | An rvalue reference to an ExportJTOptionsKit to take the underlying object from. |
|
virtual |
|
inlinestaticinherited |
Unique identifier for this class.
Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.
|
virtual |
Indicates whether this ExportJTOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Exchange::ExportJTOptionsKit::Equals | ( | ExportJTOptionsKit const & | in_kit | ) | const |
Check if the source ExportJTOptionsKit is equivalent to this ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to compare to this ExportJTOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates an ExportJTOptionsKit which contains the default settings.
The returned object will not necessarily have values set for every option, but it will have settings for those options where it is reasonable to have a default. These values will be used for import unless an option is overridden by the options passed to File::ExportJT.
|
inherited |
Returns an identifier that can be used to identify which instance of a class an object is.
Different keys and controls will return the same value if they are backed by the same database resource.
|
inherited |
|
inlinevirtual |
bool HPS::Exchange::ExportJTOptionsKit::operator!= | ( | ExportJTOptionsKit const & | in_kit | ) | const |
Check if the source ExportJTOptionsKit is not equivalent to this ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to compare to this ExportJTOptionsKit. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::operator= | ( | ExportJTOptionsKit const & | in_kit | ) |
Copies the source ExportJTOptionsKit into this ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to copy. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::operator= | ( | ExportJTOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying object of the rvalue reference to this ExportJTOptionsKit.
in_that | An rvalue reference to an ExportJTOptionsKit to take the underlying object from. |
bool HPS::Exchange::ExportJTOptionsKit::operator== | ( | ExportJTOptionsKit const & | in_kit | ) | const |
Check if the source ExportJTOptionsKit is equivalent to this ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to compare to this ExportJTOptionsKit. |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::Exchange::ExportJTOptionsKit::Set | ( | ExportJTOptionsKit const & | in_kit | ) |
Copies the source ExportJTOptionsKit into this ExportJTOptionsKit.
in_kit | The source ExportJTOptionsKit to copy. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::SetContent | ( | JT::Content | in_content | ) |
Sets the type of data to export.
This corresponds to the value that will be passed to A3DRWParamsExportJTData::m_eWriteGeomTessMode.
in_content | The type of data to export. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::SetHiddenObjects | ( | bool | in_state | ) |
Sets whether to export hidden objects.
This corresponds to the value that will be passed to A3DRWParamsExportJTData::m_bWriteHiddenObjects.
in_state | Whether to export hidden objects. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::SetPMI | ( | bool | in_state | ) |
Sets whether to export PMI.
This corresponds to the value that will be passed to A3DRWParamsExportJTData::m_bWritePMI.
in_state | Whether to export PMI. |
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::SetVersion | ( | JT::Version | in_version | ) |
Sets the version of the JT format to export.
This corresponds to the value that will be passed to A3DRWParamsExportJTData::m_eJTVersion.
in_version | The version of the JT format to export. |
void HPS::Exchange::ExportJTOptionsKit::Show | ( | ExportJTOptionsKit & | out_kit | ) | const |
Copies this ExportJTOptionsKit into the given ExportJTOptionsKit.
out_kit | The ExportJTOptionsKit to populate with the contents of this ExportJTOptionsKit. |
bool HPS::Exchange::ExportJTOptionsKit::ShowContent | ( | JT::Content & | out_content | ) | const |
Shows the content export setting.
out_content | The type of data to export. |
bool HPS::Exchange::ExportJTOptionsKit::ShowHiddenObjects | ( | bool & | out_state | ) | const |
Shows the hidden object export setting.
out_state | Whether to export hidden objects. |
bool HPS::Exchange::ExportJTOptionsKit::ShowPMI | ( | bool & | out_state | ) | const |
Shows the PMI export setting.
out_state | Whether to export PMI. |
bool HPS::Exchange::ExportJTOptionsKit::ShowVersion | ( | JT::Version & | out_version | ) | const |
Shows the version export setting.
out_version | The version of the JT format to export. |
|
virtualinherited |
This function returns the true type of the underlying object.
This function is useful for finding the type of smart pointer objects that have been cast to more generic types.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::UnsetContent | ( | ) |
Removes the content export setting.
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this ExportJTOptionsKit.
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::UnsetHiddenObjects | ( | ) |
Removes the hidden objects export setting.
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::UnsetPMI | ( | ) |
Removes the PMI export setting.
ExportJTOptionsKit& HPS::Exchange::ExportJTOptionsKit::UnsetVersion | ( | ) |
Removes the version export setting.
|
static |