blank_entity_registry Class Reference

the blank_entity_registry can be used when security is not an issue. More...

#include <entity_registry.h>

Inheritance diagram for blank_entity_registry:

Inheritance graph
[legend]
Collaboration diagram for blank_entity_registry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

bool authorized (const octopus_entity &formal(entity))
bool locate_entity (const octopus_entity &entity, time_stamp &last_active, byte_array &verification)
 retrieves the security records for the "entity", if any exist.
bool add_entity (const octopus_entity &formal(entity), const byte_array &formal(verification))
bool refresh_entity (const octopus_entity &formal(entity))
bool zap_entity (const octopus_entity &formal(entity))
istring text_form ()
 prints out the contents of the entity registry.

Detailed Description

the blank_entity_registry can be used when security is not an issue.

it always assumes every entity is valid. when the locate() method is invoked, a feel-good record is produced.

Definition at line 87 of file entity_registry.h.


Member Function Documentation

bool blank_entity_registry::authorized ( const octopus_entity formal(entity)  )  [inline]

Definition at line 90 of file entity_registry.h.

bool blank_entity_registry::locate_entity ( const octopus_entity entity,
time_stamp last_active,
byte_array verification 
) [virtual]

retrieves the security records for the "entity", if any exist.

true is returned on success and "last_active" is set to the entity's last time of activity and "verification" is set to the cilent's verification token from its login.

Implements entity_registry.

bool blank_entity_registry::add_entity ( const octopus_entity formal(entity),
const byte_array formal(verification) 
) [inline]

Definition at line 93 of file entity_registry.h.

bool blank_entity_registry::refresh_entity ( const octopus_entity formal(entity)  )  [inline]

Definition at line 95 of file entity_registry.h.

bool blank_entity_registry::zap_entity ( const octopus_entity formal(entity)  )  [inline]

Definition at line 96 of file entity_registry.h.

istring blank_entity_registry::text_form (  )  [virtual]

prints out the contents of the entity registry.

Implements entity_registry.

Definition at line 39 of file entity_registry.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Aug 19 05:12:12 2008 for HOOPLE Libraries by  doxygen 1.5.1