Revised OpenFlow Library  v0.6.0dev
 All Classes Files Functions Variables Friends Groups Pages
Public Member Functions | Friends | List of all members
rofl::openflow::cofinstructions Class Reference

Public Member Functions

 cofinstructions (uint8_t ofp_version=openflow::OFP_VERSION_UNKNOWN)
 
 cofinstructions (cofinstructions const &instructions)
 
cofinstructionsoperator= (cofinstructions const &instructions)
 
bool operator== (cofinstructions const &instructions)
 
void set_version (uint8_t ofp_version)
 
uint8_t get_version () const
 
std::map< uint16_t,
cofinstruction * > & 
set_instructions ()
 
const std::map< uint16_t,
cofinstruction * > & 
get_instructions () const
 
size_t length () const
 
void pack (uint8_t *buf, size_t buflen)
 
void unpack (uint8_t *buf, size_t buflen)
 
void check_prerequisites () const
 
cofinstructionadd_inst (uint16_t type)
 
cofinstructionset_inst (uint16_t type)
 
const cofinstructionget_inst (uint16_t type) const
 
void drop_inst (uint16_t type)
 
bool has_inst (uint16_t type) const
 
cofinstruction_goto_tableadd_inst_goto_table ()
 
cofinstruction_goto_tableset_inst_goto_table ()
 
const cofinstruction_goto_tableget_inst_goto_table () const
 
void drop_inst_goto_table ()
 
bool has_inst_goto_table () const
 
cofinstruction_write_metadataadd_inst_write_metadata ()
 
cofinstruction_write_metadataset_inst_write_metadata ()
 
const
cofinstruction_write_metadata
get_inst_write_metadata () const
 
void drop_inst_write_metadata ()
 
bool has_inst_write_metadata () const
 
cofinstruction_write_actionsadd_inst_write_actions ()
 
cofinstruction_write_actionsset_inst_write_actions ()
 
const
cofinstruction_write_actions
get_inst_write_actions () const
 
void drop_inst_write_actions ()
 
bool has_inst_write_actions () const
 
cofinstruction_apply_actionsadd_inst_apply_actions ()
 
cofinstruction_apply_actionsset_inst_apply_actions ()
 
const
cofinstruction_apply_actions
get_inst_apply_actions () const
 
void drop_inst_apply_actions ()
 
bool has_inst_apply_actions () const
 
cofinstruction_clear_actionsadd_inst_clear_actions ()
 
cofinstruction_clear_actionsset_inst_clear_actions ()
 
const
cofinstruction_clear_actions
get_inst_clear_actions () const
 
void drop_inst_clear_actions ()
 
bool has_inst_clear_actions () const
 
cofinstruction_meteradd_inst_meter ()
 
cofinstruction_meterset_inst_meter ()
 
const cofinstruction_meterget_inst_meter () const
 
void drop_inst_meter ()
 
bool has_inst_meter () const
 
cofinstruction_experimenteradd_inst_experimenter ()
 
cofinstruction_experimenterset_inst_experimenter ()
 
const cofinstruction_experimenterget_inst_experimenter () const
 
void drop_inst_experimenter ()
 
bool has_inst_experimenter () const
 
void clear ()
 

Friends

std::ostream & operator<< (std::ostream &os, cofinstructions const &inlist)
 

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