HPS.NamedStyleDefinition Class Reference
Inheritance diagram for HPS.NamedStyleDefinition:
HPS.Definition HPS.Object

Public Member Functions

override void Dispose ()
 
HPS.SegmentKey GetSource ()
 
 NamedStyleDefinition ()
 
 NamedStyleDefinition (HPS.Definition in_that)
 
 NamedStyleDefinition (HPS.NamedStyleDefinition in_that)
 
override HPS.Type ObjectType ()
 
- Public Member Functions inherited from HPS.Definition
virtual void Assign (HPS.Definition in_that)
 
 Definition ()
 
 Definition (HPS.Definition in_that)
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.Definition in_that)
 
override int GetHashCode ()
 
string Name ()
 
HPS.PortfolioKey Owner ()
 
void Undefine ()
 
- Public Member Functions inherited from HPS.Object
virtual bool Empty ()
 
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual void Reset ()
 
virtual HPS.Type Type ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Static Public Member Functions inherited from HPS.Definition
static bool operator!= (HPS.Definition a, HPS.Definition b)
 
static bool operator== (HPS.Definition a, HPS.Definition b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 
- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The NamedStyleDefinition class is a smart pointer to a database object. It is a handle to a named style defined within a portfolio.

Constructor & Destructor Documentation

◆ NamedStyleDefinition() [1/3]

HPS.NamedStyleDefinition.NamedStyleDefinition ( )
inline

The default constructor creates an uninitialized NamedStyleDefinition object. The Type() function will return Type.None.

◆ NamedStyleDefinition() [2/3]

HPS.NamedStyleDefinition.NamedStyleDefinition ( HPS.Definition  in_that)
inline

This constructor creates a NamedStyleDefinition object that shares the underlying smart-pointer of the source Definition. The copy will only be successful if the source definition is really an upcast of a named style definition. Otherwise the copy will fail and the resulting NamedStyleDefinition will be invalid.

Parameters
in_thatThe source Definition to copy.

◆ NamedStyleDefinition() [3/3]

HPS.NamedStyleDefinition.NamedStyleDefinition ( HPS.NamedStyleDefinition  in_that)
inline

The copy constructor creates a NamedStyleDefinition object that shares the underlying smart-pointer of the source NamedStyleDefinition.

Parameters
in_thatThe source NamedStyleDefinition to copy.

Member Function Documentation

◆ GetSource()

HPS.SegmentKey HPS.NamedStyleDefinition.GetSource ( )
inline

Get the source segment for this NamedStyleDefinition.

Returns
The source segment for this NamedStyleDefinition. This is the segment that contains attributes that are associated with this named style.

◆ ObjectType()

override HPS.Type HPS.NamedStyleDefinition.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.Definition.


The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.NamedStyleDefinition.cs