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

Public Member Functions

 SqlDomain (SqlSchema &InSchema)
 SqlDomain - Constructor. More...
 
virtual ~SqlDomain ()
 SqlDomain - Destructor. More...
 
const SqlGrantAccess () const
 Get the GRANTs for this domain, or NULL when not set. More...
 
void Access (const SqlGrant *TheGrant)
 Set the GRANTs for this domain. More...
 
SQL::SqlDataType_e BaseType () const
 Get the base type of this domain. More...
 
void BaseType (SQL::SqlDataType_e TheType)
 Set the base type of this domain. More...
 
const char * Check () const
 Get the CHECK for this domain, or NULL when not set. More...
 
void Check (const char *TheCheck)
 Set the CHECK for this domain. More...
 
virtual InstanceCount_t decInstance () const
 Decrement the instance. More...
 
const char * Description () const
 Get the name of this domain, or NULL when not set. More...
 
void Description (const char *SDesc)
 Set the description of this domain. More...
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 Increment the instance. More...
 
const char * Modifier () const
 Get the MODIFIER for this domain, or NULL when not set. More...
 
void Modifier (const char *TheMod)
 Set the MODIFIER for this domain. More...
 
const char * Name () const
 Get the name of this domain, or NULL when not set. More...
 
void Name (const char *SName)
 Set the name of this domain. More...
 
void operator delete (void *ToFree)
 
SqlSchemaSchema () const
 Get the schema for this domain. More...
 

Static Public Attributes

static std::map< const char *, SqlDomain *, CStringCompareOperator > * _All
 List of all Domains. More...
 

Detailed Description

Definition at line 56 of file SQLDOMAIN.hpp.

Constructor & Destructor Documentation

◆ SqlDomain()

SoftwareAndServices::Library::Database::SqlDomain::SqlDomain ( SqlSchema InSchema)

SqlDomain - Constructor.

Parameters
InSchemaThe domain the

◆ ~SqlDomain()

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

SqlDomain - Destructor.

Member Function Documentation

◆ Access() [1/2]

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

Get the GRANTs for this domain, or NULL when not set.

◆ Access() [2/2]

void SoftwareAndServices::Library::Database::SqlDomain::Access ( const SqlGrant TheGrant)

Set the GRANTs for this domain.

Parameters
TheGrantThe SqlGrant.

◆ BaseType() [1/2]

SQL::SqlDataType_e SoftwareAndServices::Library::Database::SqlDomain::BaseType ( ) const

Get the base type of this domain.

◆ BaseType() [2/2]

void SoftwareAndServices::Library::Database::SqlDomain::BaseType ( SQL::SqlDataType_e  TheType)

Set the base type of this domain.

TheType The SQL::dataType for this domain

◆ Check() [1/2]

const char* SoftwareAndServices::Library::Database::SqlDomain::Check ( ) const

Get the CHECK for this domain, or NULL when not set.

◆ Check() [2/2]

void SoftwareAndServices::Library::Database::SqlDomain::Check ( const char *  TheCheck)

Set the CHECK for this domain.

Parameters
TheCheckThe SQL check.

◆ decInstance()

virtual InstanceCount_t SoftwareAndServices::Library::Common::instance< SqlDomain >::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::SqlDomain::Description ( ) const

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

◆ Description() [2/2]

void SoftwareAndServices::Library::Database::SqlDomain::Description ( const char *  SDesc)

Set the description of this domain.

Parameters
SDescThe schema description.

◆ getInstance()

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

Definition at line 118 of file instance.hpp.

◆ incInstance()

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

Increment the instance.

Returns
The instance value, after incrementing it.

Definition at line 109 of file instance.hpp.

◆ Modifier() [1/2]

const char* SoftwareAndServices::Library::Database::SqlDomain::Modifier ( ) const

Get the MODIFIER for this domain, or NULL when not set.

◆ Modifier() [2/2]

void SoftwareAndServices::Library::Database::SqlDomain::Modifier ( const char *  TheMod)

Set the MODIFIER for this domain.

Parameters
TheModThe SQL check.

◆ Name() [1/2]

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

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

◆ Name() [2/2]

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

Set the name of this domain.

Parameters
SNameThe schema name.

◆ Schema()

SqlSchema* SoftwareAndServices::Library::Database::SqlDomain::Schema ( ) const

Get the schema for this domain.

Member Data Documentation

◆ _All

std::map<const char*, SqlDomain*,CStringCompareOperator>* SoftwareAndServices::Library::Database::SqlDomain::_All
static

List of all Domains.

Definition at line 162 of file SQLDOMAIN.hpp.


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