mummy  1.0.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MummyCsharpUnitTestGenerator Class Reference

#include <MummyCsharpUnitTestGenerator.h>

Inheritance diagram for MummyCsharpUnitTestGenerator:
[legend]
Collaboration diagram for MummyCsharpUnitTestGenerator:
[legend]

Public Member Functions

 MummyCsharpUnitTestGenerator ()
virtual ~MummyCsharpUnitTestGenerator ()
virtual bool GenerateWrappers ()
virtual MummyCsharpGeneratorGetCsharpGenerator ()
virtual void SetCsharpGenerator (MummyCsharpGenerator *generator)
virtual const char * GetArgName (cable::FunctionType *ftype, unsigned int i)
virtual void EmitCSharpFactoryMethodUnitTest (gxsys_ios::ostream &os, const cable::Class *c)
virtual void EmitCSharpMethodUnitTest (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *m)
virtual void EmitCSharpPropertyUnitTest (gxsys_ios::ostream &os, const cable::Class *c, const cable::Method *mGet, const cable::Method *mSet)
virtual void EmitCSharpStructMemberAccessUnitTest (gxsys_ios::ostream &os, const cable::Class *c)
virtual void EmitClass (gxsys_ios::ostream &os, const cable::Class *c)
- Public Member Functions inherited from MummyGenerator
 MummyGenerator ()
virtual ~MummyGenerator ()
virtual MummySettingsGetSettings ()
 Get the associated settings object.
virtual void SetSettings (MummySettings *settings)
 Set the associated settings object.
virtual const cable::Class * GetTargetClass ()
 Get the current target class.
virtual void SetTargetClass (const cable::Class *c)
 Set the current target class.
virtual bool FundamentalTypeIsWrappable (const cable::Type *t)
virtual bool TypeIsWrappable (const cable::Type *t)
virtual bool FunctionTypeIsWrappable (const cable::FunctionType *ft)
virtual bool MethodIsWrappable (const cable::Method *m, const cable::Context::Access &access)
virtual bool ClassIsWrappable (const cable::Class *c)
virtual
MummyLineOrientedTextFileReader
GetHeaderFileReader (const cable::Class *c)
 Get or create a header file reader. Only uses class 'c' on the first call. Subsequent calls retrieve the same reader instance.
virtual void EmitMummyVersionComments (gxsys_ios::ostream &os, const char *lineCommentString)

Private Member Functions

 MummyCsharpUnitTestGenerator (const MummyCsharpUnitTestGenerator &)
MummyCsharpUnitTestGeneratoroperator= (const MummyCsharpUnitTestGenerator &)

Private Attributes

MummyCsharpGeneratorCsharpGenerator

Detailed Description

Definition at line 15 of file MummyCsharpUnitTestGenerator.h.

Constructor & Destructor Documentation

MummyCsharpUnitTestGenerator::MummyCsharpUnitTestGenerator ( )

Definition at line 33 of file MummyCsharpUnitTestGenerator.cxx.

References CsharpGenerator.

MummyCsharpUnitTestGenerator::~MummyCsharpUnitTestGenerator ( )
virtual

Definition at line 40 of file MummyCsharpUnitTestGenerator.cxx.

MummyCsharpUnitTestGenerator::MummyCsharpUnitTestGenerator ( const MummyCsharpUnitTestGenerator )
private

Member Function Documentation

void MummyCsharpUnitTestGenerator::EmitClass ( gxsys_ios::ostream &  os,
const cable::Class *  c 
)
virtual
void MummyCsharpUnitTestGenerator::EmitCSharpFactoryMethodUnitTest ( gxsys_ios::ostream &  os,
const cable::Class *  c 
)
virtual

Definition at line 110 of file MummyCsharpUnitTestGenerator.cxx.

References Emit().

Referenced by EmitClass().

Here is the call graph for this function:

void MummyCsharpUnitTestGenerator::EmitCSharpMethodUnitTest ( gxsys_ios::ostream &  os,
const cable::Class *  c,
const cable::Method *  m 
)
virtual

Definition at line 117 of file MummyCsharpUnitTestGenerator.cxx.

References Emit().

Referenced by EmitClass().

Here is the call graph for this function:

void MummyCsharpUnitTestGenerator::EmitCSharpPropertyUnitTest ( gxsys_ios::ostream &  os,
const cable::Class *  c,
const cable::Method *  mGet,
const cable::Method *  mSet 
)
virtual

Definition at line 124 of file MummyCsharpUnitTestGenerator.cxx.

References Emit().

Referenced by EmitClass().

Here is the call graph for this function:

void MummyCsharpUnitTestGenerator::EmitCSharpStructMemberAccessUnitTest ( gxsys_ios::ostream &  os,
const cable::Class *  c 
)
virtual

Definition at line 131 of file MummyCsharpUnitTestGenerator.cxx.

References Emit().

Referenced by EmitClass().

Here is the call graph for this function:

bool MummyCsharpUnitTestGenerator::GenerateWrappers ( )
virtual

Definition at line 46 of file MummyCsharpUnitTestGenerator.cxx.

References EmitClass(), and MummyGenerator::GetTargetClass().

Here is the call graph for this function:

const char * MummyCsharpUnitTestGenerator::GetArgName ( cable::FunctionType *  ftype,
unsigned int  i 
)
virtual

Definition at line 103 of file MummyCsharpUnitTestGenerator.cxx.

References MummyCsharpGenerator::GetArgName(), and GetCsharpGenerator().

Here is the call graph for this function:

MummyCsharpGenerator * MummyCsharpUnitTestGenerator::GetCsharpGenerator ( )
virtual

Definition at line 54 of file MummyCsharpUnitTestGenerator.cxx.

References CsharpGenerator.

Referenced by EmitClass(), and GetArgName().

MummyCsharpUnitTestGenerator& MummyCsharpUnitTestGenerator::operator= ( const MummyCsharpUnitTestGenerator )
private
void MummyCsharpUnitTestGenerator::SetCsharpGenerator ( MummyCsharpGenerator generator)
virtual

Definition at line 61 of file MummyCsharpUnitTestGenerator.cxx.

References CsharpGenerator.

Referenced by MummyApplication::ProcessClass().

Member Data Documentation

MummyCsharpGenerator* MummyCsharpUnitTestGenerator::CsharpGenerator
private

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