< Home

< Table of Contents

REFERENCE MANUAL

Hardcopy::GDI::ExportOptionsKit Class Reference

#include <hps.h>

Inheritance diagram for Hardcopy::GDI::ExportOptionsKit:
Object

Public Member Functions

bool Empty () const
 
bool Equals (ExportOptionsKit const &in_kit) const
 
 ExportOptionsKit ()
 
 ExportOptionsKit (ExportOptionsKit const &in_kit)
 
 ExportOptionsKit (ExportOptionsKit &&in_that)
 
Type ObjectType () const
 
bool operator!= (ExportOptionsKit const &in_kit) const
 
ExportOptionsKitoperator= (ExportOptionsKit &&in_that)
 
ExportOptionsKitoperator= (ExportOptionsKit const &in_kit)
 
bool operator== (ExportOptionsKit const &in_kit) const
 
void Set (ExportOptionsKit const &in_kit)
 
ExportOptionsKitSetResolution (float in_resolution)
 
ExportOptionsKitSetWYSIWYG (bool in_onoff)
 
void Show (ExportOptionsKit &out_kit) const
 
bool ShowResolution (float &out_resolution) const
 
bool ShowWYSIWYG (bool &out_onoff) const
 
ExportOptionsKitUnsetEverything ()
 
ExportOptionsKitUnsetResolution ()
 
ExportOptionsKitUnsetWYSIWYG ()
 
- Public Member Functions inherited from Object
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (Type in_mask) const
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
Type Type () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
template<typename T >
static intptr_t ClassID ()
 

Detailed Description

The ExportOptionsKit class contains settings controlling hardcopy export.

Constructor & Destructor Documentation

Hardcopy::GDI::ExportOptionsKit::ExportOptionsKit ( )

The default constructor creates an empty ExportOptionsKit object.

Hardcopy::GDI::ExportOptionsKit::ExportOptionsKit ( ExportOptionsKit const &  in_kit)

The copy constructor creates a new ExportOptionsKit object that contains the same settings as the source ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to copy.
Hardcopy::GDI::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.

Parameters
in_thatAn rvalue reference to an ExportOptionsKit to take the impl from.

Member Function Documentation

bool Hardcopy::GDI::ExportOptionsKit::Empty ( ) const
virtual

Indicates whether this ExportOptionsKit has any values set on it.

Returns
true if no values are set on this ExportOptionsKit, false otherwise.

Reimplemented from Object.

bool Hardcopy::GDI::ExportOptionsKit::Equals ( ExportOptionsKit const &  in_kit) const

Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to compare to this ExportOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
Type Hardcopy::GDI::ExportOptionsKit::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

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

Reimplemented from Object.

bool Hardcopy::GDI::ExportOptionsKit::operator!= ( ExportOptionsKit const &  in_kit) const

Check if the source ExportOptionsKit is not equivalent to this ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to compare to this ExportOptionsKit.
Returns
true if the objects are not equivalent, false otherwise.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::operator= ( ExportOptionsKit &&  in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this ExportOptionsKit thereby avoiding a copy.

Parameters
in_thatAn rvalue reference to an ExportOptionsKit to take the impl from.
Returns
A reference to this ExportOptionsKit.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::operator= ( ExportOptionsKit const &  in_kit)

Copies the source ExportOptionsKit into this ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to copy.
Returns
A reference to this ExportOptionsKit.
bool Hardcopy::GDI::ExportOptionsKit::operator== ( ExportOptionsKit const &  in_kit) const

Check if the source ExportOptionsKit is equivalent to this ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to compare to this ExportOptionsKit.
Returns
true if the objects are equivalent, false otherwise.
void Hardcopy::GDI::ExportOptionsKit::Set ( ExportOptionsKit const &  in_kit)

Copies the source ExportOptionsKit into this ExportOptionsKit.

Parameters
in_kitThe source ExportOptionsKit to copy.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::SetResolution ( float  in_resolution)

Sets the resolution of the image to be inserted into the Hardcopy.

Parameters
in_resolutionResolution in specified units (dots per unit).
Returns
A reference to this ExportOptionsKit.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::SetWYSIWYG ( bool  in_onoff)

Enables or disables wysiwyg hardcopy output

Parameters
onofftrue is on, false is off
Returns
A reference to this ExportOptionsKit.
void Hardcopy::GDI::ExportOptionsKit::Show ( ExportOptionsKit out_kit) const

Copies this ExportOptionsKit into the given ExportOptionsKit.

Parameters
out_kitThe ExportOptionsKit to populate with the contents of this ExportOptionsKit.
bool Hardcopy::GDI::ExportOptionsKit::ShowResolution ( float &  out_resolution) const

Shows the resolution of the image to be inserted into the Hardcopy.

Parameters
out_resolutionResolution in specified units (dots per unit).
Returns
true if a size setting was specified, false otherwise.
bool Hardcopy::GDI::ExportOptionsKit::ShowWYSIWYG ( bool &  out_onoff) const

Shows true if wysiwyg has been enabled

Returns
true if a size setting was specified, false otherwise.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::UnsetEverything ( )

Removes all settings from this ExportOptionsKit.

Returns
A reference to this ExportOptionsKit.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::UnsetResolution ( )

Removes the resolution of the image to be inserted into the Hardcopy.

Returns
A reference to this ExportOptionsKit.
ExportOptionsKit& Hardcopy::GDI::ExportOptionsKit::UnsetWYSIWYG ( )

Removes the wysiwyg setting from Hardcopy.

Returns
A reference to this ExportOptionsKit.

The documentation for this class was generated from the following file: