HPS::Exchange::Layer

class HPS::Exchange::Layer : public HPS::Sprocket

The Filter class is a smart pointer. It represents an A3DAsmLayer in Exchange. The primary purpose of this class is simply to provide access to the underlying A3DAsmLayer pointer for use by Exchange library functions.

Public Functions

ComponentArray GetComponents() const

Get the list of components in this layer.

Returns

A list of components in this layer.

unsigned int GetIdentifier() const

Get the identifier of the layer.

Returns

The identifier of the layer.

HPS::UTF8 GetName() const

Get the layer name.

Returns

The name of the layer.

ProductOccurrence GetProductOccurrence() const

Get the product occurrence in which the layer is defined.

Returns

The product occurrence in which the layer is defined.

Layer()

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

Layer(Layer &&in_that)

The move constructor creates an Exchange::Layer by transferring the underlying object of the rvalue reference to this Exchange::Layer.

Parameters

in_that – An rvalue reference to an Exchange::Layer to take the underlying object from.

Layer(Layer const &in_that)

The copy constructor creates an Exchange::Layer object that shares the underlying smart-pointer of the source Exchange::Layer.

Parameters

in_that – The source Exchange::Layer to copy.

inline virtual HPS::Type ObjectType() const

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.

Layer &operator=(Layer &&in_that)

The move assignment operator transfers the underlying object of the rvalue reference to this Exchange::Layer.

Parameters

in_that – An rvalue reference to an Exchange::Layer to take the underlying object from.

Returns

A reference to this Exchange::Layer.

Layer &operator=(Layer const &in_that)

The copy assignment operator copies the underlying impl of the source value to this Layer.

Parameters

in_that – The source Layer to copy.

Returns

A reference to this Layer.

virtual ~Layer()

Public Static Attributes

static const HPS::Type staticType = HPS::Type::ExchangeLayer