|
Public Member Functions |
virtual | ~ICsFile () |
| Destructor.
|
virtual void | setBuffer (void *buffer, size_t size, bool bAllocated)=0 |
| Set buffer.
|
virtual void | freeBuffer ()=0 |
| Clear buffer associated with file.
|
virtual void * | getBuffer () const =0 |
| Get buffer.
|
virtual size_t | getBufferSize () const =0 |
| Get buffer size.
|
virtual void | setPath (const char *path)=0 |
| Set file path (path used in error reporting).
|
virtual const char * | getPath () const =0 |
| Get file path.
|
virtual CsCompilationUnit * | getCompilationUnit () const =0 |
| Get compilation unit.
|
virtual MediumFastDeque< CsToken > & | getTokens () const =0 |
| Get tokens.
|
Static Public Member Functions |
static ICsFile * | create () |
| Create C# file.
|
static ICsFile * | create (void *buffer, size_t size, bool bAllocated, const char *path) |
| Create C# file.
|
static ICsFile * | getICsFile (CsFile *file) |
| Convert internal class pointer to interface class pointer.
|
static CsFile * | getCsFile (ICsFile *file) |
| Convert interface class pointer to internal class pointer.
|
Protected Member Functions |
| ICsFile () |
| Constructor.
|
Private Member Functions |
| ICsFile (const ICsFile &rhs) |
ICsFile & | operator= (const ICsFile &rhs) |
ICsFile is sealed class.