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

This object represents one phone record. More...

#include <SaS/UpnDb/UpnDB.hpp>

+ Inheritance diagram for SoftwareAndServices::Library::UPN::UpnDbPhoneRecord:
+ Collaboration diagram for SoftwareAndServices::Library::UPN::UpnDbPhoneRecord:

Public Member Functions

 UpnDbPhoneRecord ()
 UpnPhoneDbRecord - Default Constructor. More...
 
virtual ~UpnDbPhoneRecord ()
 UpnPhoneDbRecord - Destructor. More...
 
virtual bool Add (UpnDbAuthHandle_t Auth)
 Add this object as a new record. More...
 
virtual bool Remove (UpnDbAuthHandle_t Auth)
 Remove this record from the UPN database. More...
 
virtual bool Update (UpnDbAuthHandle_t Auth) const
 Update this record. More...
 

Static Public Member Functions

static bool Load (UpnDbAuthHandle_t Auth, UpnDbUpnId_t UpnId, std::vector< UpnDbPhoneRecord *> &Results)
 Load the record for the named UPN ID The results will be ordered by: type, country code, area code, number, extension. More...
 

Detailed Description

This object represents one phone record.

Definition at line 71 of file UpnDbPhoneRecord.hpp.

Constructor & Destructor Documentation

◆ UpnDbPhoneRecord()

SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::UpnDbPhoneRecord ( )

UpnPhoneDbRecord - Default Constructor.

◆ ~UpnDbPhoneRecord()

virtual SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::~UpnDbPhoneRecord ( )
virtual

UpnPhoneDbRecord - Destructor.

Member Function Documentation

◆ Add()

virtual bool SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::Add ( UpnDbAuthHandle_t  Auth)
virtual

Add this object as a new record.

Parameters
AuthThe authentication handle to use.
Returns
true if added.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.

◆ Load()

static bool SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::Load ( UpnDbAuthHandle_t  Auth,
UpnDbUpnId_t  UpnId,
std::vector< UpnDbPhoneRecord *> &  Results 
)
static

Load the record for the named UPN ID The results will be ordered by: type, country code, area code, number, extension.

Parameters
AuthThe authentication handle.
UpnIdThe UPN ID of the record to load.
ResultsWhere the data will be saved. Results will not be cleared.
Returns
true if found and loaded. Only information available to Auth will be filled in.

◆ Remove()

virtual bool SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::Remove ( UpnDbAuthHandle_t  Auth)
virtual

Remove this record from the UPN database.

Parameters
AuthThe authentication handle to use.
Returns
true if removed.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.

◆ Update()

virtual bool SoftwareAndServices::Library::UPN::UpnDbPhoneRecord::Update ( UpnDbAuthHandle_t  Auth) const
virtual

Update this record.

Parameters
AuthThe authentication handle to use.
Returns
true if updated.

Implements SoftwareAndServices::Library::UPN::UpnDbRecord.


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