Base Module  VST 3.6.5
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions
TAssociation< T, O > Class Template Reference

Association template definition. More...

#include <tassociation.h>

Public Member Functions

 TAssociation ()
 Default constructor. More...
 
 TAssociation (const T &, const O &)
 Construct w/ key&object. More...
 
 TAssociation (const T &)
 Construct with key. More...
 
 TAssociation (const TAssociation< T, O > &)
 Copy constructor. More...
 
TAssociation< T, O > & operator= (const TAssociation< T, O > &)
 Assignment. More...
 
void set (const T &, const O &)
 Set new key and object. More...
 
T & key ()
 Return key value. More...
 
const T & key () const
 Return key value. More...
 
void key (const T &)
 Set new key value. More...
 
O & object ()
 Return object value. More...
 
const O & object () const
 Return object value. More...
 
void object (const O &)
 Set new object value. More...
 
bool operator== (const TAssociation< T, O > &) const
 Equality check. More...
 
bool operator!= (const TAssociation< T, O > &) const
 In-equality check. More...
 
bool operator< (const TAssociation< T, O > &) const
 Less than check. More...
 
bool operator> (const TAssociation< T, O > &) const
 Greater than check. More...
 
bool operator<= (const TAssociation< T, O > &) const
 Less than or equal. More...
 
bool operator>= (const TAssociation< T, O > &) const
 Greater or equal. More...
 

Detailed Description

template<class T, class O>
class Steinberg::TAssociation< T, O >

Association template definition.

Constructor & Destructor Documentation

TAssociation ( )
inline

Default constructor.

TAssociation ( const T &  k,
const O &  o 
)

Construct w/ key&object.

"TAssociation" constructs a new association with the specified key and object.

TAssociation ( const T &  k)

Construct with key.

"TAssociation" constructs a new association with the specified key.

TAssociation ( const TAssociation< T, O > &  A)

Copy constructor.

"TAssociation" is the association copy constructor.

Member Function Documentation

TAssociation< T, O > & operator= ( const TAssociation< T, O > &  A)

Assignment.

"=" assignment operator copies the specified association into this association.

void set ( const T &  k,
const O &  o 
)

Set new key and object.

"set" sets a new key and object value.

T & key ( )

Return key value.

"key" returns the key value.

const T& key ( ) const
inline

Return key value.

void key ( const T &  k)

Set new key value.

"key" sets a new key value.

O & object ( )

Return object value.

"object" returns the object value.

const O& object ( ) const
inline

Return object value.

void object ( const O &  o)

Set new object value.

"object" sets a new object value.

bool operator== ( const TAssociation< T, O > &  A) const

Equality check.

"==" checks to see if two associations are equal.

bool operator!= ( const TAssociation< T, O > &  A) const

In-equality check.

"!=" checks to see if two associations are not equal.

bool operator< ( const TAssociation< T, O > &  A) const

Less than check.

"<" checks if this association is less than the specified association.

bool operator> ( const TAssociation< T, O > &  A) const

Greater than check.

">" checks if this association is greater than the specified association.

bool operator<= ( const TAssociation< T, O > &  A) const

Less than or equal.

"<=" checks if this association is less than or equal to the specified association.

bool operator>= ( const TAssociation< T, O > &  A) const

Greater or equal.

">=" checks if this association is greater than or equal to the specified association.

Empty

Copyright ©2015 Steinberg Media Technologies GmbH. All Rights Reserved.