Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
SoftwareAndServices::Library::Database::SqlSchema Class Reference
+ Inheritance diagram for SoftwareAndServices::Library::Database::SqlSchema:
+ Collaboration diagram for SoftwareAndServices::Library::Database::SqlSchema:

Public Member Functions

 SqlSchema ()
 SqlSchema - Constructor. More...
 
virtual ~SqlSchema ()
 SqlSchema - Destructor. More...
 
SqlGrantAccess () const
 Get the grant/revoke for this schema. More...
 
void Access (SqlGrant *Permission)
 Set the grant/revoke for this schema. More...
 
virtual InstanceCount_t decInstance () const
 Decrement the instance. More...
 
const char * Description () const
 Get the Description of this schema, or NULL when not set. More...
 
void Description (const char *Desc)
 Set the description of this schema. More...
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 Increment the instance. More...
 
const char * Name () const
 Get the name of this schema, or NULL when not set. More...
 
void Name (const char *SName)
 Set the name of this schema. More...
 
void operator delete (void *ToFree)
 
SqlRoleOwner () const
 Get the OWNER of this schema, or NULL when not set. More...
 
void Owner (SqlRole *TheOwner)
 Set the OWNER of this schema. More...
 

Static Public Member Functions

static SqlSchemaFind (const char *ToFind)
 Find a schema by name. More...
 

Detailed Description

Definition at line 49 of file SqlSchema.hpp.

Constructor & Destructor Documentation

◆ SqlSchema()

SoftwareAndServices::Library::Database::SqlSchema::SqlSchema ( )

SqlSchema - Constructor.

◆ ~SqlSchema()

virtual SoftwareAndServices::Library::Database::SqlSchema::~SqlSchema ( )
virtual

SqlSchema - Destructor.

Member Function Documentation

◆ Access() [1/2]

SqlGrant* SoftwareAndServices::Library::Database::SqlSchema::Access ( ) const

Get the grant/revoke for this schema.

Or NULL when not set.

◆ Access() [2/2]

void SoftwareAndServices::Library::Database::SqlSchema::Access ( SqlGrant Permission)

Set the grant/revoke for this schema.

Parameters
PermissionThe permission for this schema.

◆ decInstance()

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

Decrement the instance.

Returns
The instance count, after decrementing it.

Definition at line 129 of file instance.hpp.

◆ Description() [1/2]

const char* SoftwareAndServices::Library::Database::SqlSchema::Description ( ) const

Get the Description of this schema, or NULL when not set.

◆ Description() [2/2]

void SoftwareAndServices::Library::Database::SqlSchema::Description ( const char *  Desc)

Set the description of this schema.

Parameters
DescThe schema description..

◆ Find()

static SqlSchema* SoftwareAndServices::Library::Database::SqlSchema::Find ( const char *  ToFind)
static

Find a schema by name.

Parameters
ToFindThe schema name to find.
Returns
The SqlSchema record or NULL when none exists.

◆ getInstance()

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

Definition at line 118 of file instance.hpp.

◆ incInstance()

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

Increment the instance.

Returns
The instance value, after incrementing it.

Definition at line 109 of file instance.hpp.

◆ Name() [1/2]

const char* SoftwareAndServices::Library::Database::SqlSchema::Name ( ) const

Get the name of this schema, or NULL when not set.

◆ Name() [2/2]

void SoftwareAndServices::Library::Database::SqlSchema::Name ( const char *  SName)

Set the name of this schema.

Parameters
SNameThe schema name.

◆ Owner() [1/2]

SqlRole* SoftwareAndServices::Library::Database::SqlSchema::Owner ( ) const

Get the OWNER of this schema, or NULL when not set.

◆ Owner() [2/2]

void SoftwareAndServices::Library::Database::SqlSchema::Owner ( SqlRole TheOwner)

Set the OWNER of this schema.

Parameters
TheOwnerThe owner of this schema.

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