Public Member Functions | Friends

AppSecInc::Databases::MSSQL::MSSQLDataFile Class Reference

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

#include <MSSQLDataFile.h>

List of all members.

Public Member Functions

const std::wstring & GetDatabase () const
 get the database name
void SetDatabase (const std::wstring &value)
const std::wstring & GetSchema () const
 the schema name
void SetSchema (const std::wstring &value)
const std::wstring & GetTable () const
 the operating-system file name for the database file
void SetTable (const std::wstring &value)
const std::wstring & GetFilename () const
 the name of the data file
void SetFilename (const std::wstring &value)
const std::list< std::wstring > & GetParameters () const
 get the parameters
void AddParameter (const std::wstring &value)
 add a data file option
void AddParameter (const std::wstring &name, const std::wstring &value)
std::wstring GetInsertQuery () const
MSSQLDataFileoperator= (const MSSQLDataFile &)
 copy constructor and operator=
 MSSQLDataFile ()
 constructors/destructors
 MSSQLDataFile (const MSSQLDataFile &)
 ~MSSQLDataFile ()
MSXML2::IXMLDOMNodePtr Save (AppSecInc::Xml::XmlDocument &xmldoc, MSXML2::IXMLDOMNodePtr parent) const
 serialize the data file spec to xml
void Load (AppSecInc::Xml::XmlDocument &xmldoc, MSXML2::IXMLDOMNodePtr root)
 deserialize the data file spec from xml

Friends

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

Detailed Description

A Microsoft SQL Server database file specification.


Constructor & Destructor Documentation

MSSQLDataFile::MSSQLDataFile ( )

constructors/destructors

MSSQLDataFile::MSSQLDataFile ( const MSSQLDataFile value)
MSSQLDataFile::~MSSQLDataFile ( )

Member Function Documentation

void AppSecInc::Databases::MSSQL::MSSQLDataFile::AddParameter ( const std::wstring &  value) [inline]

add a data file option

void MSSQLDataFile::AddParameter ( const std::wstring &  name,
const std::wstring &  value 
)
const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDataFile::GetDatabase ( ) const [inline]

get the database name

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

the name of the data file

std::wstring MSSQLDataFile::GetInsertQuery ( ) const
const std::list<std::wstring>& AppSecInc::Databases::MSSQL::MSSQLDataFile::GetParameters ( ) const [inline]

get the parameters

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDataFile::GetSchema ( ) const [inline]

the schema name

const std::wstring& AppSecInc::Databases::MSSQL::MSSQLDataFile::GetTable ( ) const [inline]

the operating-system file name for the database file

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

deserialize the data file spec from xml

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

copy constructor and operator=

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

serialize the data file spec to xml

void AppSecInc::Databases::MSSQL::MSSQLDataFile::SetDatabase ( const std::wstring &  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDataFile::SetFilename ( const std::wstring &  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDataFile::SetSchema ( const std::wstring &  value) [inline]
void AppSecInc::Databases::MSSQL::MSSQLDataFile::SetTable ( const std::wstring &  value) [inline]

Friends And Related Function Documentation

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

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


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