OpenSDN source code
IFMapIdentifier Class Referenceabstract

#include <ifmap_object.h>

Inheritance diagram for IFMapIdentifier:
Collaboration diagram for IFMapIdentifier:

Public Member Functions

 IFMapIdentifier ()
 
 IFMapIdentifier (int property_count)
 
virtual bool SetProperty (const std::string &attr_key, AutogenProperty *data)=0
 
virtual void ClearProperty (const std::string &attr_key)=0
 
virtual bool empty () const
 
void TransferPropertyToOldProperty ()
 
bool ResolveStalePropertiesAndResetOld ()
 
bool IsPropertySet (int id) const
 
virtual bool ResolveStaleness ()
 
- Public Member Functions inherited from IFMapObject
 IFMapObject ()
 
virtual ~IFMapObject ()
 
virtual std::string ToString () const =0
 
virtual void EncodeUpdate (pugi::xml_node *parent) const =0
 
void set_origin (IFMapOrigin origin)
 
uint64_t sequence_number ()
 
const uint64_t sequence_number () const
 
void set_sequence_number (uint64_t sequence_number)
 
IFMapOrigin origin () const
 
virtual boost::crc_32_type::value_type CalculateCrc () const =0
 

Protected Attributes

boost::dynamic_bitset property_set_
 
boost::dynamic_bitset old_property_set_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (IFMapIdentifier)
 

Detailed Description

Definition at line 83 of file ifmap_object.h.

Constructor & Destructor Documentation

◆ IFMapIdentifier() [1/2]

IFMapIdentifier::IFMapIdentifier ( )

Definition at line 20 of file ifmap_object.cc.

◆ IFMapIdentifier() [2/2]

IFMapIdentifier::IFMapIdentifier ( int  property_count)
explicit

Definition at line 23 of file ifmap_object.cc.

Member Function Documentation

◆ ClearProperty()

virtual void IFMapIdentifier::ClearProperty ( const std::string &  attr_key)
pure virtual

◆ DISALLOW_COPY_AND_ASSIGN()

IFMapIdentifier::DISALLOW_COPY_AND_ASSIGN ( IFMapIdentifier  )
private

◆ empty()

virtual bool IFMapIdentifier::empty ( ) const
inlinevirtual

Definition at line 93 of file ifmap_object.h.

◆ IsPropertySet()

bool IFMapIdentifier::IsPropertySet ( int  id) const
inline

Definition at line 99 of file ifmap_object.h.

◆ ResolveStaleness()

bool IFMapIdentifier::ResolveStaleness ( )
virtual

Implements IFMapObject.

Definition at line 38 of file ifmap_object.cc.

Here is the call graph for this function:

◆ ResolveStalePropertiesAndResetOld()

bool IFMapIdentifier::ResolveStalePropertiesAndResetOld ( )

Definition at line 32 of file ifmap_object.cc.

◆ SetProperty()

virtual bool IFMapIdentifier::SetProperty ( const std::string &  attr_key,
AutogenProperty data 
)
pure virtual

◆ TransferPropertyToOldProperty()

void IFMapIdentifier::TransferPropertyToOldProperty ( )

Definition at line 27 of file ifmap_object.cc.

Member Data Documentation

◆ old_property_set_

boost::dynamic_bitset IFMapIdentifier::old_property_set_
protected

Definition at line 104 of file ifmap_object.h.

◆ property_set_

boost::dynamic_bitset IFMapIdentifier::property_set_
protected

Definition at line 103 of file ifmap_object.h.


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