The PortfolioKey class is a smart pointer to a database object. More...
#include <hps.h>
Public Member Functions | |
PortfolioKey () | |
The default constructor creates an uninitialized PortfolioKey object. More... | |
PortfolioKey (Key const &in_that) | |
This constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source Key. More... | |
PortfolioKey (PortfolioKey const &in_that) | |
The copy constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source PortfolioKey. More... | |
PortfolioKey & | operator= (PortfolioKey const &in_that) |
Associate this PortfolioKey with the same underlying impl as the source PortfolioKey. More... | |
PortfolioKey (PortfolioKey &&in_that) | |
The move constructor creates a PortfolioKey by transferring the underlying impl of the rvalue reference to this PortfolioKey thereby avoiding a copy and allocation. More... | |
PortfolioKey & | operator= (PortfolioKey &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this PortfolioKey thereby avoiding a copy. More... | |
~PortfolioKey () | |
HPS::Type | ObjectType () const |
TextureDefinition | DefineTexture (char const *in_name, ImageDefinition const &in_source) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the default texture options. More... | |
TextureDefinition | DefineTexture (char const *in_name, ImageDefinition const &in_source, TextureOptionsKit const &in_options) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the specified texture options. More... | |
CubeMapDefinition | DefineCubeMap (char const *in_name, ImageDefinition const &in_negative_z, ImageDefinition const &in_positive_z, ImageDefinition const &in_negative_x, ImageDefinition const &in_positive_x, ImageDefinition const &in_negative_y, ImageDefinition const &in_positive_y) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the default texture options. More... | |
CubeMapDefinition | DefineCubeMap (char const *in_name, ImageDefinition const &in_negative_z, ImageDefinition const &in_positive_z, ImageDefinition const &in_negative_x, ImageDefinition const &in_positive_x, ImageDefinition const &in_negative_y, ImageDefinition const &in_positive_y, TextureOptionsKit const &in_options) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the specified texture options. More... | |
ImageDefinition | DefineImage (char const *in_name, ImageKit const &in_source) |
Creates a new image definition in this portfolio with the specified name from the source ImageKit. More... | |
NamedStyleDefinition | DefineNamedStyle (char const *in_name, SegmentKey const &in_style_source) |
Creates a new named style definition in this portfolio with the specified name using the source SegmentKey. More... | |
MaterialPaletteDefinition | DefineMaterialPalette (char const *in_name, MaterialKitArray const &in_source) |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array. More... | |
MaterialPaletteDefinition | DefineMaterialPalette (char const *in_name, size_t in_count, MaterialKit const in_source []) |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array. More... | |
GlyphDefinition | DefineGlyph (char const *in_name, GlyphKit const &in_source) |
Creates a new glyph definition in this portfolio with the specified name using the source GlyphKit. More... | |
LinePatternDefinition | DefineLinePattern (char const *in_name, LinePatternKit const &in_source) |
Creates a new line pattern definition in this portfolio with the specified name using the source LinePatternKit. More... | |
ShaderDefinition | DefineShader (char const *in_name, ShaderKit const &in_source) |
Internal use only - customers should not use. More... | |
ShapeDefinition | DefineShape (char const *in_name, ShapeKit const &in_source) |
Creates a new sjape definition in this portfolio with the specified name using the source ShapeKit. More... | |
PortfolioKey & | UndefineTexture (char const *in_name) |
Remove the texture definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineCubeMap (char const *in_name) |
Remove the cube map definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineImage (char const *in_name) |
Remove the image definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineNamedStyle (char const *in_name) |
Remove the named style definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineMaterialPalette (char const *in_name) |
Remove the material palette definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineGlyph (char const *in_name) |
Remove the glyph definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineLinePattern (char const *in_name) |
Remove the line pattern definition with the specified name from this portfolio. More... | |
PortfolioKey & | UndefineShader (char const *in_name) |
Internal use only - customers should not use. More... | |
PortfolioKey & | UndefineShape (char const *in_name) |
Remove the shape definition with the specified name from this portfolio. More... | |
PortfolioKey & | ImportPortfolio (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllTextures (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all texture definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllCubeMaps (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all cube map definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllImages (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all image definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllNamedStyles (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all named style definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllMaterialPalettes (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all material palette definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllGlyphs (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all glyph definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllLinePatterns (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all line pattern definitions from the specified portfolio into this portfolio. More... | |
PortfolioKey & | ImportAllShaders (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Internal use only - customers should not use. More... | |
PortfolioKey & | ImportAllShapes (PortfolioKey const &in_portfolio, bool in_replace_existing=true) |
Copy all shape definitions from the specified portfolio into this portfolio. More... | |
TextureDefinition | ImportTexture (TextureDefinition const &in_definition) |
Copy the specified texture definition into this portfolio. More... | |
CubeMapDefinition | ImportCubeMap (CubeMapDefinition const &in_definition) |
Copy the specified cube map definition into this portfolio. More... | |
ImageDefinition | ImportImage (ImageDefinition const &in_definition) |
Copy the specified image definition into this portfolio. More... | |
NamedStyleDefinition | ImportNamedStyle (NamedStyleDefinition const &in_definition) |
Copy the specified named style definition into this portfolio. More... | |
MaterialPaletteDefinition | ImportMaterialPalette (MaterialPaletteDefinition const &in_definition) |
Copy the specified material palette definition into this portfolio. More... | |
GlyphDefinition | ImportGlyph (GlyphDefinition const &in_definition) |
Copy the specified glyph definition into this portfolio. More... | |
LinePatternDefinition | ImportLinePattern (LinePatternDefinition const &in_definition) |
Copy the specified line pattern definition into this portfolio. More... | |
ShaderDefinition | ImportShader (ShaderDefinition const &in_definition) |
Internal use only - customers should not use. More... | |
ShapeDefinition | ImportShape (ShapeDefinition const &in_definition) |
Copy the specified shape definition into this portfolio. More... | |
size_t | GetDefinitionCount () const |
size_t | GetTextureDefinitionCount () const |
size_t | GetCubeMapDefinitionCount () const |
size_t | GetImageDefinitionCount () const |
size_t | GetNamedStyleDefinitionCount () const |
size_t | GetMaterialPaletteDefinitionCount () const |
size_t | GetGlyphDefinitionCount () const |
size_t | GetLinePatternDefinitionCount () const |
size_t | GetShaderDefinitionCount () const |
Internal use only - customers should not use. More... | |
size_t | GetShapeDefinitionCount () const |
bool | ShowTextureDefinition (char const *in_name) const |
Finds the texture definition with the specified name in this portfolio. More... | |
bool | ShowTextureDefinition (char const *in_name, TextureDefinition &out_found) const |
Finds the texture definition with the specified name in this portfolio. More... | |
bool | ShowAllTextureDefinitions (TextureDefinitionArray &out_definitions) const |
Shows all textures defined within this portfolio. More... | |
bool | ShowCubeMapDefinition (char const *in_name) const |
Finds the cube map definition with the specified name in this portfolio. More... | |
bool | ShowCubeMapDefinition (char const *in_name, CubeMapDefinition &out_found) const |
Finds the cube map definition with the specified name in this portfolio. More... | |
bool | ShowAllCubeMapDefinitions (CubeMapDefinitionArray &out_definitions) const |
Shows all cube maps defined within this portfolio. More... | |
bool | ShowImageDefinition (char const *in_name) const |
Finds the image definition with the specified name in this portfolio. More... | |
bool | ShowImageDefinition (char const *in_name, ImageDefinition &out_found) const |
Finds the image definition with the specified name in this portfolio. More... | |
bool | ShowAllImageDefinitions (ImageDefinitionArray &out_definitions) const |
Shows all images defined within this portfolio. More... | |
bool | ShowNamedStyleDefinition (char const *in_name) const |
Finds the named style definition with the specified name in this portfolio. More... | |
bool | ShowNamedStyleDefinition (char const *in_name, NamedStyleDefinition &out_found) const |
Finds the named style definition with the specified name in this portfolio. More... | |
bool | ShowAllNamedStyleDefinitions (NamedStyleDefinitionArray &out_definitions) const |
Shows all named styles defined within this portfolio. More... | |
bool | ShowMaterialPaletteDefinition (char const *in_name) const |
Finds the material palette definition with the specified name in this portfolio. More... | |
bool | ShowMaterialPaletteDefinition (char const *in_name, MaterialPaletteDefinition &out_found) const |
Finds the material palette definition with the specified name in this portfolio. More... | |
bool | ShowAllMaterialPaletteDefinitions (MaterialPaletteDefinitionArray &out_definitions) const |
Shows all material palettes defined within this portfolio. More... | |
bool | ShowGlyphDefinition (char const *in_name) const |
Finds the glyph definition with the specified name in this portfolio. More... | |
bool | ShowGlyphDefinition (char const *in_name, GlyphDefinition &out_found) const |
Finds the glyph definition with the specified name in this portfolio. More... | |
bool | ShowAllGlyphDefinitions (GlyphDefinitionArray &out_definitions) const |
Shows all glyphs defined within this portfolio. More... | |
bool | ShowLinePatternDefinition (char const *in_name) const |
Finds the line pattern definition with the specified name in this portfolio. More... | |
bool | ShowLinePatternDefinition (char const *in_name, LinePatternDefinition &out_found) const |
Finds the line pattern definition with the specified name in this portfolio. More... | |
bool | ShowAllLinePatternDefinitions (LinePatternDefinitionArray &out_definitions) const |
Shows all line patterns defined within this portfolio. More... | |
bool | ShowShaderDefinition (char const *in_name) const |
Internal use only - customers should not use. More... | |
bool | ShowShaderDefinition (char const *in_name, ShaderDefinition &out_found) const |
Internal use only - customers should not use. More... | |
bool | ShowAllShaderDefinitions (ShaderDefinitionArray &out_definitions) const |
Internal use only - customers should not use. More... | |
bool | ShowShapeDefinition (char const *in_name) const |
Finds the shape definition with the specified name in this portfolio. More... | |
bool | ShowShapeDefinition (char const *in_name, ShapeDefinition &out_found) const |
Finds the shape definition with the specified name in this portfolio. More... | |
bool | ShowAllShapeDefinitions (ShapeDefinitionArray &out_definitions) const |
Shows all shapes defined within this portfolio. More... | |
bool | HasOwner () const |
SegmentKey | Up () const |
SegmentKey | Owner () const |
void | Delete () |
Removes the database object referred to by this key. More... | |
virtual void | Assign (Key const &in_that) |
Share the underlying smart-pointer of the Key source. More... | |
bool | Equals (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
bool | operator!= (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
bool | operator== (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
size_t | GetHash () const |
Returns a hash code for the key. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual bool | Empty () const |
Indicates whether this object has any values set on it. 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 | |
template<typename T > | |
static intptr_t | ClassID () |
Unique identifier for this class. More... | |
Static Public Attributes | |
static const HPS::Type | staticType = HPS::Type::PortfolioKey |
Private Member Functions | |
void | MoveTo (SegmentKey const &in_new_owner) |
MoveTo is private because portfolios cannot be moved to a segment. More... | |
Key | CopyTo (SegmentKey const &in_destination) const |
CopyTo is private because portfolios cannot be copied to a segment. More... | |
The PortfolioKey class is a smart pointer to a database object.
Portfolios are special objects that can only contain definitions. A segment can use a portfolio to gain access to the definitions it contains.
HPS::PortfolioKey::PortfolioKey | ( | ) |
The default constructor creates an uninitialized PortfolioKey object.
The Type() function will return Type::None.
|
explicit |
This constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source Key.
The copy will only be successful if the source key is really an upcast of an offscreen window. Otherwise the copy will fail and the resulting PortfolioKey will be invalid.
in_key | The source Key to copy. |
HPS::PortfolioKey::PortfolioKey | ( | PortfolioKey const & | in_that | ) |
The copy constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source PortfolioKey.
in_that | The source PortfolioKey to copy. |
HPS::PortfolioKey::PortfolioKey | ( | PortfolioKey && | in_that | ) |
The move constructor creates a PortfolioKey by transferring the underlying impl of the rvalue reference to this PortfolioKey thereby avoiding a copy and allocation.
in_that | An rvalue reference to a PortfolioKey to take the impl from. |
HPS::PortfolioKey::~PortfolioKey | ( | ) |
|
virtualinherited |
|
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.
|
private |
CopyTo is private because portfolios cannot be copied to a segment.
CubeMapDefinition HPS::PortfolioKey::DefineCubeMap | ( | char const * | in_name, |
ImageDefinition const & | in_negative_z, | ||
ImageDefinition const & | in_positive_z, | ||
ImageDefinition const & | in_negative_x, | ||
ImageDefinition const & | in_positive_x, | ||
ImageDefinition const & | in_negative_y, | ||
ImageDefinition const & | in_positive_y | ||
) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the default texture options.
This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid.
in_name | UTF8-encoded name for the new cube map definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_negative_z | The source image for the negative z-axis for the new cube map definition. |
in_positive_z | The source image for the positive z-axis for the new cube map definition. |
in_negative_x | The source image for the negative x-axis for the new cube map definition. |
in_positive_x | The source image for the positive x-axis for the new cube map definition. |
in_negative_y | The source image for the negative y-axis for the new cube map definition. |
in_positive_y | The source image for the positive y-axis for the new cube map definition. |
CubeMapDefinition HPS::PortfolioKey::DefineCubeMap | ( | char const * | in_name, |
ImageDefinition const & | in_negative_z, | ||
ImageDefinition const & | in_positive_z, | ||
ImageDefinition const & | in_negative_x, | ||
ImageDefinition const & | in_positive_x, | ||
ImageDefinition const & | in_negative_y, | ||
ImageDefinition const & | in_positive_y, | ||
TextureOptionsKit const & | in_options | ||
) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the specified texture options.
This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid.
in_name | UTF8-encoded name for the new cube map definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_negative_z | The source image for the negative z-axis for the new cube map definition. |
in_positive_z | The source image for the positive z-axis for the new cube map definition. |
in_negative_x | The source image for the negative x-axis for the new cube map definition. |
in_positive_x | The source image for the positive x-axis for the new cube map definition. |
in_negative_y | The source image for the negative y-axis for the new cube map definition. |
in_positive_y | The source image for the positive y-axis for the new cube map definition. |
in_options | The texture options for the new cube map definition. |
GlyphDefinition HPS::PortfolioKey::DefineGlyph | ( | char const * | in_name, |
GlyphKit const & | in_source | ||
) |
Creates a new glyph definition in this portfolio with the specified name using the source GlyphKit.
This will replace any existing glyph of the same name within this portfolio.
in_name | UTF8-encoded name for the new glyph definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source GlyphKit for the new glyph definition. |
ImageDefinition HPS::PortfolioKey::DefineImage | ( | char const * | in_name, |
ImageKit const & | in_source | ||
) |
Creates a new image definition in this portfolio with the specified name from the source ImageKit.
This will replace any existing image of the same name within this portfolio.
in_name | UTF8-encoded name for the new image definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source ImageKit for the new image definition. |
LinePatternDefinition HPS::PortfolioKey::DefineLinePattern | ( | char const * | in_name, |
LinePatternKit const & | in_source | ||
) |
Creates a new line pattern definition in this portfolio with the specified name using the source LinePatternKit.
This will replace any existing line pattern of the same name within this portfolio.
in_name | UTF8-encoded name for the new line pattern definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source LinePatternKit for the new line pattern definition. |
MaterialPaletteDefinition HPS::PortfolioKey::DefineMaterialPalette | ( | char const * | in_name, |
MaterialKitArray const & | in_source | ||
) |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array.
This will replace any existing material palette of the same name within this portfolio.
in_name | UTF8-encoded name for the new material palette definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source MaterialKit array for the new material palette definition. |
MaterialPaletteDefinition HPS::PortfolioKey::DefineMaterialPalette | ( | char const * | in_name, |
size_t | in_count, | ||
MaterialKit const | in_source[] | ||
) |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array.
This will replace any existing material palette of the same name within this portfolio.
in_name | UTF8-encoded name for the new material palette definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_count | Size of the following array. |
in_source | The source MaterialKit array for the new material palette definition. |
NamedStyleDefinition HPS::PortfolioKey::DefineNamedStyle | ( | char const * | in_name, |
SegmentKey const & | in_style_source | ||
) |
Creates a new named style definition in this portfolio with the specified name using the source SegmentKey.
This will replace any existing named style of the same name within this portfolio.
in_name | UTF8-encoded name for the new named style definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_style_source | The source SegmentKey for the new named style definition. |
ShaderDefinition HPS::PortfolioKey::DefineShader | ( | char const * | in_name, |
ShaderKit const & | in_source | ||
) |
Internal use only - customers should not use.
Creates a new shader definition in this portfolio with the specified name using the source ShaderKit. This will replace any existing shader of the same name within this portfolio.
in_name | UTF8-encoded name for the new shader definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source ShaderKit for the new shader definition. |
ShapeDefinition HPS::PortfolioKey::DefineShape | ( | char const * | in_name, |
ShapeKit const & | in_source | ||
) |
Creates a new sjape definition in this portfolio with the specified name using the source ShapeKit.
This will replace any existing shape of the same name within this portfolio.
in_name | UTF8-encoded name for the new shape definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source ShapeKit for the new shape definition. |
TextureDefinition HPS::PortfolioKey::DefineTexture | ( | char const * | in_name, |
ImageDefinition const & | in_source | ||
) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the default texture options.
This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid.
in_name | UTF8-encoded name for the new texture definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source image for the new texture definition. |
TextureDefinition HPS::PortfolioKey::DefineTexture | ( | char const * | in_name, |
ImageDefinition const & | in_source, | ||
TextureOptionsKit const & | in_options | ||
) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the specified texture options.
This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid.
in_name | UTF8-encoded name for the new texture definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. |
in_source | The source image for the new texture definition. |
in_options | The texture options for the new texture definition. |
|
inherited |
Removes the database object referred to by this key.
|
inlinevirtualinherited |
Indicates whether this object has any values set on it.
Reimplemented in HPS::STL::ImportResultsKit, HPS::STL::ImportOptionsKit, HPS::OBJ::ImportResultsKit, HPS::OBJ::ImportOptionsKit, HPS::Hardcopy::File::ExportOptionsKit, HPS::Stream::ExportOptionsKit, HPS::Stream::ImportResultsKit, HPS::Stream::ImportOptionsKit, HPS::PointCloud::ImportOptionsKit, HPS::PointCloud::ImportResultsKit, HPS::UpdateOptionsKit, HPS::HighlightSearchOptionsKit, HPS::HighlightOptionsKit, HPS::SelectionOptionsKit, HPS::SearchOptionsKit, HPS::CutGeometryGatheringOptionsKit, HPS::ShapeKit, HPS::ShaderKit, HPS::Shader::ImportOptionsKit, HPS::ImageKit, HPS::Image::ImportOptionsKit, HPS::Image::ExportOptionsKit, HPS::TextureOptionsKit, HPS::LinePatternKit, HPS::LinePatternParallelKit, HPS::LinePatternOptionsKit, HPS::GlyphKit, HPS::ApplicationWindowOptionsKit, HPS::OffScreenWindowOptionsKit, HPS::StandAloneWindowOptionsKit, HPS::GridKit, HPS::PolygonKit, HPS::MeshKit, HPS::ShellKit, HPS::ShellRelationResultsKit, HPS::ShellRelationOptionsKit, HPS::ShellOptimizationOptionsKit, HPS::TextKit, HPS::EllipticalArcKit, HPS::EllipseKit, HPS::TrimKit, HPS::NURBSSurfaceKit, HPS::NURBSCurveKit, HPS::SpotlightKit, HPS::InfiniteLineKit, HPS::CuttingSectionKit, HPS::CircularWedgeKit, HPS::CircularArcKit, HPS::CircleKit, HPS::SphereKit, HPS::CylinderKit, HPS::DistantLightKit, HPS::MarkerKit, HPS::LineKit, HPS::AttributeLockKit, HPS::FontInfoState, HPS::WindowInfoKit, HPS::DebuggingKit, HPS::SubwindowKit, HPS::ContourLineKit, HPS::VisualEffectsKit, HPS::TransformMaskKit, HPS::PostProcessEffectsKit, HPS::DrawingAttributeKit, HPS::HiddenLineAttributeKit, HPS::PerformanceKit, HPS::NURBSSurfaceAttributeKit, HPS::MaterialKit, HPS::MaterialMappingKit, HPS::MatrixKit, HPS::CurveAttributeKit, HPS::EdgeAttributeKit, HPS::LineAttributeKit, HPS::TextAttributeKit, HPS::CuttingSectionAttributeKit, HPS::CylinderAttributeKit, HPS::LightingAttributeKit, HPS::SphereAttributeKit, HPS::MarkerAttributeKit, HPS::CullingKit, HPS::ColorInterpolationKit, HPS::TransparencyKit, HPS::SelectabilityKit, HPS::CameraKit, HPS::VisibilityKit, HPS::BoundingKit, HPS::SegmentOptimizationOptionsKit, HPS::Publish::ExportOptionsKit, HPS::Publish::TextFieldKit, HPS::Publish::SignatureFieldKit, HPS::Publish::DropDownListKit, HPS::Exchange::TessellationOptionsKit, HPS::Publish::ListBoxKit, HPS::Exchange::ExportSTEPOptionsKit, HPS::Exchange::ExportParasolidOptionsKit, HPS::Publish::RadioButtonKit, HPS::Exchange::ExportIGESOptionsKit, HPS::Exchange::ExportXMLOptionsKit, HPS::Publish::CheckBoxKit, HPS::Exchange::ExportU3DOptionsKit, HPS::Exchange::ExportSTLOptionsKit, HPS::Publish::ButtonKit, HPS::Exchange::ExportPRCOptionsKit, HPS::Publish::LinkKit, HPS::Exchange::ExportJTOptionsKit, HPS::Publish::SlideTableKit, HPS::Exchange::ExportACISOptionsKit, HPS::Publish::TableKit, HPS::Exchange::Export3MFOptionsKit, HPS::Publish::ImageKit, HPS::Publish::TextKit, HPS::Exchange::ModelFileImportOptionsKit, HPS::Publish::ViewKit, HPS::Exchange::TranslationOptionsKit, HPS::Publish::ArtworkKit, HPS::Publish::AnnotationKit, HPS::ComponentPath, HPS::Exchange::ImportOptionsKit, HPS::Parasolid::ExportOptionsKit, HPS::Exchange::NURBSConversionOptionsKit, HPS::Parasolid::LineTessellationKit, HPS::Exchange::Configuration, HPS::Publish::PageKit, HPS::Parasolid::FacetTessellationKit, HPS::Publish::DocumentKit, HPS::Parasolid::ImportOptionsKit, HPS::DWG::ImportOptionsKit, HPS::OOC::ImportOptionsKit, HPS::Sketchup::ImportOptionsKit, and HPS::Sketchup::ImportResultsKit.
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
Empty keys (when key.Empty() returns true) are never equal to any key, even when the key is compared against itself (they act analogously to NaN comparisons in this case.)
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
size_t HPS::PortfolioKey::GetCubeMapDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetGlyphDefinitionCount | ( | ) | const |
|
inherited |
Returns a hash code for the key.
size_t HPS::PortfolioKey::GetImageDefinitionCount | ( | ) | const |
|
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.
size_t HPS::PortfolioKey::GetLinePatternDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetMaterialPaletteDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetNamedStyleDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetShaderDefinitionCount | ( | ) | const |
Internal use only - customers should not use.
size_t HPS::PortfolioKey::GetShapeDefinitionCount | ( | ) | const |
size_t HPS::PortfolioKey::GetTextureDefinitionCount | ( | ) | const |
|
inherited |
|
inherited |
PortfolioKey& HPS::PortfolioKey::ImportAllCubeMaps | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all cube map definitions from the specified portfolio into this portfolio.
By default, existing cube map definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the cube map definitions from. |
in_replace_existing | Whether to replace existing cube map definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllGlyphs | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all glyph definitions from the specified portfolio into this portfolio.
By default, existing glyph definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the glyph definitions from. |
in_replace_existing | Whether to replace existing glyph definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllImages | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all image definitions from the specified portfolio into this portfolio.
By default, existing image definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the image definitions from. |
in_replace_existing | Whether to replace existing image definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllLinePatterns | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all line pattern definitions from the specified portfolio into this portfolio.
By default, existing line pattern definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the line pattern definitions from. |
in_replace_existing | Whether to replace existing line pattern definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllMaterialPalettes | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all material palette definitions from the specified portfolio into this portfolio.
By default, existing material palette definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the material palette definitions from. |
in_replace_existing | Whether to replace existing material palette definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllNamedStyles | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all named style definitions from the specified portfolio into this portfolio.
By default, existing named style definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the named style definitions from. |
in_replace_existing | Whether to replace existing named style definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllShaders | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Internal use only - customers should not use.
Copy all shader definitions from the specified portfolio into this portfolio. By default, existing shader definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the shader definitions from. |
in_replace_existing | Whether to replace existing shader definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllShapes | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all shape definitions from the specified portfolio into this portfolio.
By default, existing shape definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the shape definitions from. |
in_replace_existing | Whether to replace existing shape definitions of the same name. Defaults to true. |
PortfolioKey& HPS::PortfolioKey::ImportAllTextures | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all texture definitions from the specified portfolio into this portfolio.
By default, existing texture definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the texture definitions from. |
in_replace_existing | Whether to replace existing texture definitions of the same name. Defaults to true. |
CubeMapDefinition HPS::PortfolioKey::ImportCubeMap | ( | CubeMapDefinition const & | in_definition | ) |
Copy the specified cube map definition into this portfolio.
This will replace an existing cube map definition of the same name.
in_definition | The source cube map definition to copy into this portfolio. |
GlyphDefinition HPS::PortfolioKey::ImportGlyph | ( | GlyphDefinition const & | in_definition | ) |
Copy the specified glyph definition into this portfolio.
This will replace an existing glyph definition of the same name.
in_definition | The source glyph definition to copy into this portfolio. |
ImageDefinition HPS::PortfolioKey::ImportImage | ( | ImageDefinition const & | in_definition | ) |
Copy the specified image definition into this portfolio.
This will replace an existing image definition of the same name.
in_definition | The source image definition to copy into this portfolio. |
LinePatternDefinition HPS::PortfolioKey::ImportLinePattern | ( | LinePatternDefinition const & | in_definition | ) |
Copy the specified line pattern definition into this portfolio.
This will replace an existing line pattern definition of the same name.
in_definition | The source line pattern definition to copy into this portfolio. |
MaterialPaletteDefinition HPS::PortfolioKey::ImportMaterialPalette | ( | MaterialPaletteDefinition const & | in_definition | ) |
Copy the specified material palette definition into this portfolio.
This will replace an existing material palette definition of the same name.
in_definition | The source material palette definition to copy into this portfolio. |
NamedStyleDefinition HPS::PortfolioKey::ImportNamedStyle | ( | NamedStyleDefinition const & | in_definition | ) |
Copy the specified named style definition into this portfolio.
This will replace an existing named style definition of the same name.
in_definition | The source named style definition to copy into this portfolio. |
PortfolioKey& HPS::PortfolioKey::ImportPortfolio | ( | PortfolioKey const & | in_portfolio, |
bool | in_replace_existing = true |
||
) |
Copy all definitions from the specified portfolio into this portfolio.
By default, existing definitions of the same name within this portfolio will be replaced, unless otherwise specified.
in_portfolio | The source portfolio to copy the definitions from. |
in_replace_existing | Whether to replace existing definitions of the same name. Defaults to true. |
ShaderDefinition HPS::PortfolioKey::ImportShader | ( | ShaderDefinition const & | in_definition | ) |
Internal use only - customers should not use.
Copy the specified shader definition into this portfolio. This will replace an existing shader definition of the same name.
in_definition | The source shader definition to copy into this portfolio. |
ShapeDefinition HPS::PortfolioKey::ImportShape | ( | ShapeDefinition const & | in_definition | ) |
Copy the specified shape definition into this portfolio.
This will replace an existing shape definition of the same name.
in_definition | The source shape definition to copy into this portfolio. |
TextureDefinition HPS::PortfolioKey::ImportTexture | ( | TextureDefinition const & | in_definition | ) |
Copy the specified texture definition into this portfolio.
This will replace an existing texture definition of the same name.
in_definition | The source texture definition to copy into this portfolio. |
|
private |
MoveTo is private because portfolios cannot be moved to a segment.
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
PortfolioKey& HPS::PortfolioKey::operator= | ( | PortfolioKey const & | in_that | ) |
Associate this PortfolioKey with the same underlying impl as the source PortfolioKey.
in_that | The source PortfolioKey for the assignment. |
PortfolioKey& HPS::PortfolioKey::operator= | ( | PortfolioKey && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this PortfolioKey thereby avoiding a copy.
in_that | An rvalue reference to a PortfolioKey to take the impl from. |
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
|
inherited |
|
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.
bool HPS::PortfolioKey::ShowAllCubeMapDefinitions | ( | CubeMapDefinitionArray & | out_definitions | ) | const |
Shows all cube maps defined within this portfolio.
out_definitions | The array of cube maps defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllGlyphDefinitions | ( | GlyphDefinitionArray & | out_definitions | ) | const |
Shows all glyphs defined within this portfolio.
out_definitions | The array of glyphs defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllImageDefinitions | ( | ImageDefinitionArray & | out_definitions | ) | const |
Shows all images defined within this portfolio.
out_definitions | The array of images defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllLinePatternDefinitions | ( | LinePatternDefinitionArray & | out_definitions | ) | const |
Shows all line patterns defined within this portfolio.
out_definitions | The array of line patterns defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllMaterialPaletteDefinitions | ( | MaterialPaletteDefinitionArray & | out_definitions | ) | const |
Shows all material palettes defined within this portfolio.
out_definitions | The array of material palettes defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllNamedStyleDefinitions | ( | NamedStyleDefinitionArray & | out_definitions | ) | const |
Shows all named styles defined within this portfolio.
out_definitions | The array of named styles defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllShaderDefinitions | ( | ShaderDefinitionArray & | out_definitions | ) | const |
Internal use only - customers should not use.
Shows all shaders defined within this portfolio.
out_definitions | The array of shaders defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllShapeDefinitions | ( | ShapeDefinitionArray & | out_definitions | ) | const |
Shows all shapes defined within this portfolio.
out_definitions | The array of shapes defined within this portfolio. |
bool HPS::PortfolioKey::ShowAllTextureDefinitions | ( | TextureDefinitionArray & | out_definitions | ) | const |
Shows all textures defined within this portfolio.
out_definitions | The array of textures defined within this portfolio. |
bool HPS::PortfolioKey::ShowCubeMapDefinition | ( | char const * | in_name | ) | const |
Finds the cube map definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the cube map to find in this portfolio. |
bool HPS::PortfolioKey::ShowCubeMapDefinition | ( | char const * | in_name, |
CubeMapDefinition & | out_found | ||
) | const |
Finds the cube map definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the cube map to find in this portfolio. |
out_found | The cube map definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowGlyphDefinition | ( | char const * | in_name | ) | const |
Finds the glyph definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the glyph to find in this portfolio. |
bool HPS::PortfolioKey::ShowGlyphDefinition | ( | char const * | in_name, |
GlyphDefinition & | out_found | ||
) | const |
Finds the glyph definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the glyph to find in this portfolio. |
out_found | The glyph definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowImageDefinition | ( | char const * | in_name | ) | const |
Finds the image definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the image to find in this portfolio. |
bool HPS::PortfolioKey::ShowImageDefinition | ( | char const * | in_name, |
ImageDefinition & | out_found | ||
) | const |
Finds the image definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the image to find in this portfolio. |
out_found | The image definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowLinePatternDefinition | ( | char const * | in_name | ) | const |
Finds the line pattern definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the line pattern to find in this portfolio. |
bool HPS::PortfolioKey::ShowLinePatternDefinition | ( | char const * | in_name, |
LinePatternDefinition & | out_found | ||
) | const |
Finds the line pattern definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the line pattern to find in this portfolio. |
out_found | The line pattern definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowMaterialPaletteDefinition | ( | char const * | in_name | ) | const |
Finds the material palette definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the material palette to find in this portfolio. |
bool HPS::PortfolioKey::ShowMaterialPaletteDefinition | ( | char const * | in_name, |
MaterialPaletteDefinition & | out_found | ||
) | const |
Finds the material palette definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the material palette to find in this portfolio. |
out_found | The material palette definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowNamedStyleDefinition | ( | char const * | in_name | ) | const |
Finds the named style definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the named style to find in this portfolio. |
bool HPS::PortfolioKey::ShowNamedStyleDefinition | ( | char const * | in_name, |
NamedStyleDefinition & | out_found | ||
) | const |
Finds the named style definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the named style to find in this portfolio. |
out_found | The named style definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowShaderDefinition | ( | char const * | in_name | ) | const |
Internal use only - customers should not use.
Finds the shader definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the shader to find in this portfolio. |
bool HPS::PortfolioKey::ShowShaderDefinition | ( | char const * | in_name, |
ShaderDefinition & | out_found | ||
) | const |
Internal use only - customers should not use.
Finds the shader definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the shader to find in this portfolio. |
out_found | The shader definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowShapeDefinition | ( | char const * | in_name | ) | const |
Finds the shape definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the shape to find in this portfolio. |
bool HPS::PortfolioKey::ShowShapeDefinition | ( | char const * | in_name, |
ShapeDefinition & | out_found | ||
) | const |
Finds the shape definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the shape to find in this portfolio. |
out_found | The shape definition from this portfolio with the specified name. |
bool HPS::PortfolioKey::ShowTextureDefinition | ( | char const * | in_name | ) | const |
Finds the texture definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the texture to find in this portfolio. |
bool HPS::PortfolioKey::ShowTextureDefinition | ( | char const * | in_name, |
TextureDefinition & | out_found | ||
) | const |
Finds the texture definition with the specified name in this portfolio.
in_name | UTF8-encoded name of the texture to find in this portfolio. |
out_found | The texture definition from this portfolio with the specified name. |
|
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.
PortfolioKey& HPS::PortfolioKey::UndefineCubeMap | ( | char const * | in_name | ) |
Remove the cube map definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the cube map to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineGlyph | ( | char const * | in_name | ) |
Remove the glyph definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the glyph to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineImage | ( | char const * | in_name | ) |
Remove the image definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the image to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineLinePattern | ( | char const * | in_name | ) |
Remove the line pattern definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the line pattern to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineMaterialPalette | ( | char const * | in_name | ) |
Remove the material palette definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the material palette to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineNamedStyle | ( | char const * | in_name | ) |
Remove the named style definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the named style to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineShader | ( | char const * | in_name | ) |
Internal use only - customers should not use.
Remove the shader definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the shader to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineShape | ( | char const * | in_name | ) |
Remove the shape definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the shape to remove. |
PortfolioKey& HPS::PortfolioKey::UndefineTexture | ( | char const * | in_name | ) |
Remove the texture definition with the specified name from this portfolio.
in_name | UTF8-encoded name of the texture to remove. |
|
inherited |
|
static |