libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
BloombergLP::bmqt::SubscriptionExpression Class Reference

Value-semantic type to carry Subscription criteria.

#include <bmqt_subscription.h>

Public Types

enum  Enum { e_NONE = 0 , e_VERSION_1 = 1 }
 Enum representing criteria format. More...
 

Public Member Functions

 SubscriptionExpression ()
 
 SubscriptionExpression (const bsl::string &expression, Enum version)
 
const bsl::string & text () const
 
Enum version () const
 
bool isValid () const
 
bsl::ostream & print (bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
 

Member Enumeration Documentation

◆ Enum

Enumerator
e_NONE 

EMPTY.

e_VERSION_1 

Simple Evaluator.

Constructor & Destructor Documentation

◆ SubscriptionExpression() [1/2]

BloombergLP::bmqt::SubscriptionExpression::SubscriptionExpression ( )
inline

◆ SubscriptionExpression() [2/2]

BloombergLP::bmqt::SubscriptionExpression::SubscriptionExpression ( const bsl::string &  expression,
Enum  version 
)
inline

Member Function Documentation

◆ text()

const bsl::string & BloombergLP::bmqt::SubscriptionExpression::text ( ) const
inline

◆ version()

SubscriptionExpression::Enum BloombergLP::bmqt::SubscriptionExpression::version ( ) const
inline

◆ isValid()

bool BloombergLP::bmqt::SubscriptionExpression::isValid ( ) const
inline

References e_NONE.

◆ print()

bsl::ostream & BloombergLP::bmqt::SubscriptionExpression::print ( bsl::ostream &  stream,
int  level = 0,
int  spacesPerLevel = 4 
) const
inline

Format this object to the specified output stream at the (absolute value of) the optionally specified indentation level and return a reference to stream. If level is specified, optionally specify spacesPerLevel, the number of spaces per indentation level for this and all of its nested objects. If level is negative, suppress indentation of the first line. If spacesPerLevel is negative format the entire output on one line, suppressing all but the initial indentation (as governed by level). If stream is not valid on entry, this operation has no effect.

Referenced by BloombergLP::bmqt::Subscription::print().


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