Public Member Functions | Friends

AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec Class Reference

A Microsoft SQL Server database file specification. More...

#include <MSSQLDatabaseFileSpec.h>

List of all members.

Public Member Functions

const std::wstring & GetType () const
 the file spec type, eg. PRIMARY, LOG ON or FILEGROUP Group1
void SetType (const std::wstring &value)
const std::wstring & GetFilename () const
 the operating-system file name for the database file
void SetFilename (const std::wstring &value)
const std::wstring & GetName () const
 the logical name for the database file
void SetName (const std::wstring &value)
const std::wstring & GetSize () const
 the size of the database file, eg. 10MB
void SetSize (std::wstring value)
const std::wstring & GetMaxSize () const
 maximum size to which the database file can grow
void SetMaxSize (std::wstring value)
const std::wstring & GetGrowthSize () const
 growth increment of the database file
void SetGrowthSize (std::wstring value)
std::wstring GetCreateQuery () const
MSSQLDatabaseFileSpecoperator= (const MSSQLDatabaseFileSpec &)
 copy constructor and operator=
 MSSQLDatabaseFileSpec ()
 constructors/destructors
 MSSQLDatabaseFileSpec (const MSSQLDatabaseFileSpec &connectioninfo)
 ~MSSQLDatabaseFileSpec ()
MSXML2::IXMLDOMNodePtr Save (AppSecInc::Xml::XmlDocument &xmldoc, MSXML2::IXMLDOMNodePtr parent) const
 serialize the file spec to xml
void Load (AppSecInc::Xml::XmlDocument &xmldoc, MSXML2::IXMLDOMNodePtr root)
 deserialize the file spec from xml

Friends

std::wostream & operator<< (std::wostream &, const MSSQLDatabaseFileSpec &)

Detailed Description

A Microsoft SQL Server database file specification.


Constructor & Destructor Documentation

MSSQLDatabaseFileSpec::MSSQLDatabaseFileSpec ( )

constructors/destructors

MSSQLDatabaseFileSpec::MSSQLDatabaseFileSpec ( const MSSQLDatabaseFileSpec connectioninfo)
MSSQLDatabaseFileSpec::~MSSQLDatabaseFileSpec ( )

Member Function Documentation

std::wstring MSSQLDatabaseFileSpec::GetCreateQuery ( ) const
const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetFilename ( ) const [inline]

the operating-system file name for the database file

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetGrowthSize ( ) const [inline]

growth increment of the database file

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetMaxSize ( ) const [inline]

maximum size to which the database file can grow

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetName ( ) const [inline]

the logical name for the database file

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetSize ( ) const [inline]

the size of the database file, eg. 10MB

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::GetType ( ) const [inline]

the file spec type, eg. PRIMARY, LOG ON or FILEGROUP Group1

void MSSQLDatabaseFileSpec::Load ( AppSecInc::Xml::XmlDocument xmldoc,
MSXML2::IXMLDOMNodePtr  root 
)

deserialize the file spec from xml

MSSQLDatabaseFileSpec & MSSQLDatabaseFileSpec::operator= ( const MSSQLDatabaseFileSpec value)

copy constructor and operator=

MSXML2::IXMLDOMNodePtr MSSQLDatabaseFileSpec::Save ( AppSecInc::Xml::XmlDocument xmldoc,
MSXML2::IXMLDOMNodePtr  parent 
) const

serialize the file spec to xml

void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetFilename ( const std::wstring &  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetGrowthSize ( std::wstring  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetMaxSize ( std::wstring  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetName ( const std::wstring &  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetSize ( std::wstring  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDatabaseFileSpec::SetType ( const std::wstring &  value) [inline]

Friends And Related Function Documentation

std::wostream& operator<< ( std::wostream &  ,
const MSSQLDatabaseFileSpec  
) [friend]

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


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com