Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes

NRAttribute Class Reference

Inheritance diagram for NRAttribute:
NRSimpleAttribute< T > NRSimpleAttribute< char * > NRSimpleAttribute< void * >

List of all members.

Public Types

enum  keys {
  SCOPE_KEY = 1001, CLASS_KEY = 1002, ALGORITHM_KEY = 1003, SUBSCRIPTION_ID_KEY = 1004,
  FLOWS_KEY = 1005, REINFORCEMENT_KEY = 1500, LATITUDE_KEY = 1501, LONGITUDE_KEY = 1502,
  ROUTE_KEY = 1503, SOURCE_ROUTE_KEY = 1504, DATABLOCK_KEY = 2001, TASK_FREQUENCY_KEY = 2002,
  TASK_NAME_KEY = 2003, TASK_QUERY_DETAIL_KEY = 2004, TARGET_KEY = 2005, TARGET_RANGE_KEY = 2006,
  CONFIDENCE_KEY = 2007, RMST_DATA_KEY = 2010, RMST_ID_KEY = 2011, RMST_FRAG_KEY = 2012,
  RMST_MAX_FRAG_KEY = 2013, RMST_TSPRT_CTL_KEY = 2014, RMST_PKTS_SENT_KEY = 2015, RMST_TARGET_KEY = 2016
}
enum  classes { INTEREST_CLASS = 10010, DISINTEREST_CLASS, DATA_CLASS }
enum  scopes { NODE_LOCAL_SCOPE = 11010, GLOBAL_SCOPE }
enum  algorithms { ONE_PHASE_PULL_ALGORITHM = 12010, TWO_PHASE_PULL_ALGORITHM, ONE_PHASE_PUSH_ALGORITHM }
enum  types {
  INT32_TYPE, FLOAT32_TYPE, FLOAT64_TYPE, STRING_TYPE,
  BLOB_TYPE
}
enum  operators {
  IS, LE, GE, LT,
  GT, EQ, NE, EQ_ANY
}

Public Member Functions

 NRAttribute (int key, int type, int op, int len, void *val=NULL)
 NRAttribute (const NRAttribute &rhs)
NRAttributefind_matching_key_from (NRAttrVec *attrs, NRAttrVec::iterator start, NRAttrVec::iterator *place=NULL)
NRAttributefind_matching_key (NRAttrVec *attrs, NRAttrVec::iterator *place=NULL)
int32_t getKey ()
int8_t getType ()
int8_t getOp ()
int16_t getLen ()
void * getGenericVal ()
bool isSameKey (NRAttribute *attr)
bool isEQ (NRAttribute *attr)
bool isGT (NRAttribute *attr)
bool isGE (NRAttribute *attr)
bool isNE (NRAttribute *attr)
bool isLT (NRAttribute *attr)
bool isLE (NRAttribute *attr)

Static Public Member Functions

static NRAttributefind_key (int key, NRAttrVec *attrs, NRAttrVec::iterator *place=NULL)
static NRAttributefind_key_from (int key, NRAttrVec *attrs, NRAttrVec::iterator start, NRAttrVec::iterator *place=NULL)

Protected Attributes

int32_t key_
int8_t type_
int8_t op_
int16_t len_
void * val_

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