HPS::Exchange::Filter

class HPS::Exchange::Filter : public HPS::Filter

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

Public Functions

Filter()

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

Filter(Component const &in_that)

This constructor creates a Filter object that shares the underlying smart-pointer of the source Component. The copy will only be successful if the source component is really an upcast of an Exchange::Filter object. Otherwise the copy will fail and the resulting Exchange::Filter will be invalid.

Parameters

in_that – The source Component to copy.

Filter(Exchange::Filter &&in_that)

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

Parameters

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

Filter(Exchange::Filter const &in_that)

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

Parameters

in_that – The source Exchange::Filter to copy.

Filter(HPS::Filter const &in_that)

This constructor creates an Exchange::Filter object that shares the underlying smart-pointer of the source HPS::Filter. The copy will only be successful if the source component is really an upcast of an Exchange::Filter object. Otherwise the copy will fail and the resulting Exchange::Filter will be invalid.

Parameters

in_that – The source HPS::Filter to copy.

A3DEntity *GetExchangeEntity() const

Gets the A3DEntity pointer corresponding to this Exchange::Filter.

Returns

The A3DEntity pointer corresponding to this Exchange::Filter.

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.

Filter &operator=(Exchange::Filter &&in_that)

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

Parameters

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

Returns

A reference to this Exchange::Filter.

virtual ~Filter()

Public Static Attributes

static const HPS::Type staticType = HPS::Type::ExchangeFilter