FD.io VPP  v18.10-32-g1161dda
Vector Packet Processing
VOM::ACL::acl_ethertype Class Reference
+ Inheritance diagram for VOM::ACL::acl_ethertype:
+ Collaboration diagram for VOM::ACL::acl_ethertype:

Public Types

typedef std::string key_t
 The KEY can be used to uniquely identify the ACL ethertype. More...
 
typedef std::multiset< ethertype_rule_tethertype_rules_t
 The ethertype container. More...
 

Public Member Functions

 acl_ethertype (const interface &itf, const ethertype_rules_t &le)
 Construct a new object matching the desried state. More...
 
 acl_ethertype (const acl_ethertype &o)
 Copy Constructor. More...
 
 ~acl_ethertype ()
 Destructor. More...
 
const key_tkey () const
 Return the binding's key. More...
 
bool operator== (const acl_ethertype &o) const
 comparision operator (for testing) More...
 
std::shared_ptr< acl_ethertypesingular () const
 Return the 'singular' of the acl ethertype that matches this object. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 

Static Public Member Functions

static void dump (std::ostream &os)
 Dump all acl ethertype into the stream provided. More...
 
static std::shared_ptr< acl_ethertypefind (const key_t &key)
 Static function to find the acl_ethertype in the model. More...
 

Friends

class VOM::OM
 
class singular_db< interface::key_t, acl_ethertype >
 It's the singular_db class that calls replay() More...
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::object_base
 object_base ()=default
 Constructable by derived classes only. More...
 
virtual ~object_base ()=default
 Destructor. More...
 

Detailed Description

Definition at line 87 of file acl_ethertype.hpp.

Member Typedef Documentation

The ethertype container.

Definition at line 100 of file acl_ethertype.hpp.

typedef std::string VOM::ACL::acl_ethertype::key_t

The KEY can be used to uniquely identify the ACL ethertype.

(other choices for keys, like the summation of the properties of the rules, are rather too cumbersome to use

Definition at line 95 of file acl_ethertype.hpp.

Constructor & Destructor Documentation

VOM::ACL::acl_ethertype::acl_ethertype ( const interface itf,
const ethertype_rules_t le 
)

Construct a new object matching the desried state.

Definition at line 73 of file acl_ethertype.cpp.

VOM::ACL::acl_ethertype::acl_ethertype ( const acl_ethertype o)

Copy Constructor.

Definition at line 81 of file acl_ethertype.cpp.

VOM::ACL::acl_ethertype::~acl_ethertype ( )

Destructor.

Definition at line 88 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

Member Function Documentation

void VOM::ACL::acl_ethertype::dump ( std::ostream &  os)
static

Dump all acl ethertype into the stream provided.

Definition at line 124 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

std::shared_ptr< acl_ethertype > VOM::ACL::acl_ethertype::find ( const key_t key)
static

Static function to find the acl_ethertype in the model.

Definition at line 118 of file acl_ethertype.cpp.

const acl_ethertype::key_t & VOM::ACL::acl_ethertype::key ( ) const

Return the binding's key.

Definition at line 106 of file acl_ethertype.cpp.

+ Here is the caller graph for this function:

bool VOM::ACL::acl_ethertype::operator== ( const acl_ethertype o) const

comparision operator (for testing)

Definition at line 112 of file acl_ethertype.cpp.

std::shared_ptr< acl_ethertype > VOM::ACL::acl_ethertype::singular ( ) const

Return the 'singular' of the acl ethertype that matches this object.

Definition at line 174 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

std::string VOM::ACL::acl_ethertype::to_string ( void  ) const
virtual

convert to string format for debug purposes

Implements VOM::object_base.

Definition at line 139 of file acl_ethertype.cpp.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class singular_db< interface::key_t, acl_ethertype >
friend

It's the singular_db class that calls replay()

Definition at line 201 of file acl_ethertype.hpp.

friend class VOM::OM
friend

Definition at line 196 of file acl_ethertype.hpp.


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