IAssembly Class Reference

Abstract assembly. More...

List of all members.

Public Member Functions

virtual ~IAssembly ()
 Destructor.
virtual void setBuffer (void *buffer, size_t size, bool bAllocated)=0
 Set buffer.
virtual void * getBuffer () const =0
 Get buffer associated with file.
virtual void freeBuffer ()=0
 Clear buffer associated with file.
virtual size_t getBufferSize () const =0
 Get size of file.
virtual void setPath (const char *path)=0
 Set file path (used in error reporting).
virtual const char * getPath () const =0
 Get file path.

Static Public Member Functions

static IAssemblycreate ()
 Create Assembly.
static IAssemblycreate (void *buffer, size_t size, bool bAllocated, const char *path)
 Create Assembly.
static IAssemblygetIAssembly (ClsAssembly *assembly)
 Convert internal class pointer to interface class pointer.
static ClsAssembly * getClsAssembly (IAssembly *assembly)
 Convert interface class pointer to internal class pointer.

Protected Member Functions

 IAssembly ()
 Constructor.

Private Member Functions

 IAssembly (const IAssembly &rhs)
IAssemblyoperator= (const IAssembly &rhs)


Detailed Description

Abstract assembly.

IAssembly is sealed class.


Constructor & Destructor Documentation

virtual IAssembly::~IAssembly  )  [virtual]
 

Destructor.

IAssembly::IAssembly  )  [protected]
 

Constructor.

IAssembly::IAssembly const IAssembly rhs  )  [private]
 


Member Function Documentation

static IAssembly* IAssembly::create void *  buffer,
size_t  size,
bool  bAllocated,
const char *  path
[static]
 

Create Assembly.

If bAllocated is true than buffer was allocated with CsParserInterface::alloc() function. If bAllocated is false than buffer allocated by user.

static IAssembly* IAssembly::create  )  [static]
 

Create Assembly.

virtual void IAssembly::freeBuffer  )  [pure virtual]
 

Clear buffer associated with file.

virtual void* IAssembly::getBuffer  )  const [pure virtual]
 

Get buffer associated with file.

virtual size_t IAssembly::getBufferSize  )  const [pure virtual]
 

Get size of file.

static ClsAssembly* IAssembly::getClsAssembly IAssembly assembly  )  [static]
 

Convert interface class pointer to internal class pointer.

static IAssembly* IAssembly::getIAssembly ClsAssembly *  assembly  )  [static]
 

Convert internal class pointer to interface class pointer.

virtual const char* IAssembly::getPath  )  const [pure virtual]
 

Get file path.

IAssembly& IAssembly::operator= const IAssembly rhs  )  [private]
 

virtual void IAssembly::setBuffer void *  buffer,
size_t  size,
bool  bAllocated
[pure virtual]
 

Set buffer.

If bAllocated is true than buffer was allocated with CsParserInterface::alloc() function. If bAllocated is false than buffer allocated by user.

virtual void IAssembly::setPath const char *  path  )  [pure virtual]
 

Set file path (used in error reporting).

© 2005 metaspec