The ExportOptionsKit class is a user space object. More...
#include <sprk_parasolid.h>
Public Member Functions | |
ExportOptionsKit () | |
The default constructor creates an empty ExportOptionsKit object. More... | |
ExportOptionsKit (ExportOptionsKit const &in_kit) | |
The copy constructor creates a new ExportOptionsKit object that contains the same settings as the source ExportOptionsKit. More... | |
ExportOptionsKit (ExportOptionsKit &&in_that) | |
The move constructor creates an ExportOptionsKit by transferring the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy and allocation. More... | |
ExportOptionsKit & | operator= (ExportOptionsKit &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy. More... | |
virtual | ~ExportOptionsKit () |
HPS::Type | ObjectType () const |
void | Set (ExportOptionsKit const &in_kit) |
Copies the source ExportOptionsKit into this ExportOptionsKit. More... | |
void | Show (ExportOptionsKit &out_kit) const |
Copies this ExportOptionsKit into the given ExportOptionsKit. More... | |
ExportOptionsKit & | operator= (ExportOptionsKit const &in_kit) |
Copies the source ExportOptionsKit into this ExportOptionsKit. More... | |
bool | Empty () const |
Indicates whether this ExportOptionsKit has any values set on it. More... | |
bool | Equals (ExportOptionsKit const &in_kit) const |
Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit. More... | |
bool | operator== (ExportOptionsKit const &in_kit) const |
Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit. More... | |
bool | operator!= (ExportOptionsKit const &in_kit) const |
Check if the source ExportOptionsKit is not equivalent to this ExportOptionsKit. More... | |
ExportOptionsKit & | SetFormat (Parasolid::Format in_format) |
Sets the format type to be exported. More... | |
ExportOptionsKit & | SetUserFields (bool in_export_user_fields) |
Sets whether to export user fields from the CAD file. More... | |
ExportOptionsKit & | UnsetFormat () |
Removes the format export state. More... | |
ExportOptionsKit & | UnsetUserFields () |
Removes the user fields export state. More... | |
ExportOptionsKit & | UnsetEverything () |
Removes all settings from this ExportOptionsKit. More... | |
bool | ShowFormat (Parasolid::Format &out_format) const |
Shows the format export setting. More... | |
bool | ShowUserFields (bool &out_user_fields) const |
Shows the user fields 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 ExportOptionsKit | GetDefault () |
Creates an ExportOptionsKit 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::ParasolidExportOptionsKit |
The ExportOptionsKit class is a user space object.
It contains settings controlling what and how data is exported via Parasolid. Default values for the various fields of this class can be found here.
HPS::Parasolid::ExportOptionsKit::ExportOptionsKit | ( | ) |
The default constructor creates an empty ExportOptionsKit object.
HPS::Parasolid::ExportOptionsKit::ExportOptionsKit | ( | ExportOptionsKit const & | in_kit | ) |
The copy constructor creates a new ExportOptionsKit object that contains the same settings as the source ExportOptionsKit.
in_kit | The source ExportOptionsKit to copy. |
HPS::Parasolid::ExportOptionsKit::ExportOptionsKit | ( | ExportOptionsKit && | in_that | ) |
The move constructor creates an ExportOptionsKit by transferring the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy and allocation.
in_that | An rvalue reference to an ExportOptionsKit to take the impl 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 ExportOptionsKit has any values set on it.
Reimplemented from HPS::Object.
bool HPS::Parasolid::ExportOptionsKit::Equals | ( | ExportOptionsKit const & | in_kit | ) | const |
Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit.
in_kit | The source ExportOptionsKit to compare to this ExportOptionsKit. |
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
static |
Creates an ExportOptionsKit 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::Export.
|
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::Parasolid::ExportOptionsKit::operator!= | ( | ExportOptionsKit const & | in_kit | ) | const |
Check if the source ExportOptionsKit is not equivalent to this ExportOptionsKit.
in_kit | The source ExportOptionsKit to compare to this ExportOptionsKit. |
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::operator= | ( | ExportOptionsKit && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy.
in_that | An rvalue reference to an ExportOptionsKit to take the impl from. |
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::operator= | ( | ExportOptionsKit const & | in_kit | ) |
Copies the source ExportOptionsKit into this ExportOptionsKit.
in_kit | The source ExportOptionsKit to copy. |
bool HPS::Parasolid::ExportOptionsKit::operator== | ( | ExportOptionsKit const & | in_kit | ) | const |
Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit.
in_kit | The source ExportOptionsKit to compare to this ExportOptionsKit. |
|
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::Parasolid::ExportOptionsKit::Set | ( | ExportOptionsKit const & | in_kit | ) |
Copies the source ExportOptionsKit into this ExportOptionsKit.
in_kit | The source ExportOptionsKit to copy. |
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::SetFormat | ( | Parasolid::Format | in_format | ) |
Sets the format type to be exported.
This corresponds to the value that will be passed to PK_PART_transmit_o_t.transmit_format.
in_format | The format of the file to be exported. |
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::SetUserFields | ( | bool | in_export_user_fields | ) |
Sets whether to export user fields from the CAD file.
This corresponds to the value that will be passed to PK_PART_transmit_o_t.receive_user_fields.
in_export_user_fields | Whether to export user fields from the CAD file. |
void HPS::Parasolid::ExportOptionsKit::Show | ( | ExportOptionsKit & | out_kit | ) | const |
Copies this ExportOptionsKit into the given ExportOptionsKit.
out_kit | The ExportOptionsKit to populate with the contents of this ExportOptionsKit. |
bool HPS::Parasolid::ExportOptionsKit::ShowFormat | ( | Parasolid::Format & | out_format | ) | const |
Shows the format export setting.
out_format | The format setting for this export. |
bool HPS::Parasolid::ExportOptionsKit::ShowUserFields | ( | bool & | out_user_fields | ) | const |
Shows the user fields export setting.
out_user_fields | The user fields setting for this 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.
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::UnsetEverything | ( | ) |
Removes all settings from this ExportOptionsKit.
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::UnsetFormat | ( | ) |
Removes the format export state.
ExportOptionsKit& HPS::Parasolid::ExportOptionsKit::UnsetUserFields | ( | ) |
Removes the user fields export state.
|
static |