Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
SoftwareAndServices::Library::UPN::UpnDB::Realm Class Reference

An object that contains a realm and all sub realms, in an ordered tree. More...

#include <SaS/UpnDb/UpnDB.hpp>

+ Inheritance diagram for SoftwareAndServices::Library::UPN::UpnDB::Realm:
+ Collaboration diagram for SoftwareAndServices::Library::UPN::UpnDB::Realm:

Public Member Functions

 Realm ()
 Realm - Default constructor. More...
 
virtual ~Realm ()
 Realm - Destructor. More...
 
void AddChild (Realm &NewChild)
 Add a child Realm. More...
 
std::map< const char *, Realm *, OrderByName > & Children ()
 Get a std::map of the Children. More...
 
virtual InstanceCount_t decInstance () const
 Decrement the instance. More...
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 Increment the instance. More...
 
void operator delete (void *ToFree)
 
RealmParent () const
 Get the parent of this Realm. More...
 
void Parent (Realm *NewParent)
 Set the realms parent. More...
 
UpnDbRealmRecordRealmData ()
 Get the Realm data. More...
 
void RemoveChild (Realm &OldChild)
 Remove a child Realm. More...
 

Detailed Description

An object that contains a realm and all sub realms, in an ordered tree.

Definition at line 180 of file UpnDB.hpp.

Constructor & Destructor Documentation

◆ Realm()

SoftwareAndServices::Library::UPN::UpnDB::Realm::Realm ( )

Realm - Default constructor.

◆ ~Realm()

virtual SoftwareAndServices::Library::UPN::UpnDB::Realm::~Realm ( )
virtual

Realm - Destructor.

Member Function Documentation

◆ AddChild()

void SoftwareAndServices::Library::UPN::UpnDB::Realm::AddChild ( Realm NewChild)

Add a child Realm.

Parameters
NewChildThe Realm to be added as a child Realm.

◆ Children()

std::map<const char*, Realm*,OrderByName>& SoftwareAndServices::Library::UPN::UpnDB::Realm::Children ( )

Get a std::map of the Children.

Returns
A std:map of this realms children.

◆ decInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< Realm >::decInstance ( ) const
inlinevirtualinherited

Decrement the instance.

Returns
The instance count, after decrementing it.

Definition at line 129 of file instance.hpp.

◆ getInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< Realm >::getInstance ( ) const
inlinevirtualinherited
Returns
The current instance count.

Definition at line 118 of file instance.hpp.

◆ incInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< Realm >::incInstance ( ) const
inlinevirtualinherited

Increment the instance.

Returns
The instance value, after incrementing it.

Definition at line 109 of file instance.hpp.

◆ Parent() [1/2]

Realm* SoftwareAndServices::Library::UPN::UpnDB::Realm::Parent ( ) const

Get the parent of this Realm.

Returns
The parent of this Realm, or NULL if none.

◆ Parent() [2/2]

void SoftwareAndServices::Library::UPN::UpnDB::Realm::Parent ( Realm NewParent)

Set the realms parent.

Parameters
NewParentThe Realm that is to be the parent of this Realm.

◆ RealmData()

UpnDbRealmRecord& SoftwareAndServices::Library::UPN::UpnDB::Realm::RealmData ( )

Get the Realm data.

Returns
The Realm Data.

◆ RemoveChild()

void SoftwareAndServices::Library::UPN::UpnDB::Realm::RemoveChild ( Realm OldChild)

Remove a child Realm.

Parameters
OldChildThe Realm to be removed as a child Realm.

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