Public Member Functions | |
clldpattrs (clldpattrs const &attrs) | |
clldpattrs & | operator= (clldpattrs const &attrs) |
void | clear () |
void | insert (clldpattr const &attr) |
virtual size_t | length () const |
virtual void | pack (uint8_t *buf=(uint8_t *) 0, size_t buflen=0) |
virtual void | unpack (uint8_t *buf, size_t buflen) |
clldpattr_end & | add_end () |
clldpattr_end & | set_end () |
clldpattr_end & | get_end () |
bool | has_end () const |
void | drop_end () |
clldpattr_id & | add_chassis_id () |
clldpattr_id & | set_chassis_id () |
clldpattr_id & | get_chassis_id () |
bool | has_chassis_id () const |
void | drop_chassis_id () |
clldpattr_id & | add_port_id () |
clldpattr_id & | set_port_id () |
clldpattr_id & | get_port_id () |
bool | has_port_id () const |
void | drop_port_id () |
clldpattr_ttl & | add_ttl () |
clldpattr_ttl & | set_ttl () |
clldpattr_ttl & | get_ttl () |
bool | has_ttl () const |
void | drop_ttl () |
clldpattr_desc & | add_port_desc () |
clldpattr_desc & | set_port_desc () |
clldpattr_desc & | get_port_desc () |
bool | has_port_desc () const |
void | drop_port_desc () |
clldpattr_desc & | add_system_name () |
clldpattr_desc & | set_system_name () |
clldpattr_desc & | get_system_name () |
bool | has_system_name () const |
void | drop_system_name () |
clldpattr_desc & | add_system_desc () |
clldpattr_desc & | set_system_desc () |
clldpattr_desc & | get_system_desc () |
bool | has_system_desc () const |
void | drop_system_desc () |
clldpattr_system_caps & | add_system_caps () |
clldpattr_system_caps & | set_system_caps () |
clldpattr_system_caps & | get_system_caps () |
bool | has_system_caps () const |
void | drop_system_caps () |
Friends | |
std::ostream & | operator<< (std::ostream &os, clldpattrs const &attrs) |