TypeLib Class Reference

#include <typelib.h>

List of all members.

Public Types

enum  INVOKEKIND { func = DISPATCH_METHOD, get = DISPATCH_PROPERTYGET, put = DISPATCH_PROPERTYPUT, putref = DISPATCH_PROPERTYPUTREF }
enum  VARIABLEKIND { instance = VAR_PERINSTANCE, static_ = VAR_STATIC, const_ = VAR_CONST, dispatch = VAR_DISPATCH }
enum  TYPEFLAG { FDEFAULT = IMPLTYPEFLAG_FDEFAULT, FSOURCE = IMPLTYPEFLAG_FSOURCE, FRESTRICTED = IMPLTYPEFLAG_FRESTRICTED, FDEFAULTVTABLE = IMPLTYPEFLAG_FDEFAULTVTABLE }

Public Member Functions

void init (void)
void init (ITypeInfo *i_typeInfo)
 TypeLib ()
 TypeLib (IDispatch *i_unknown)
 TypeLib (ITypeLib *i_typelib)
 TypeLib (ITypeInfo *i_typeinfo)
bool Open (std::string const &type_lib_file)
void dump (void)
std::string LibDocumentation ()
int NofTypeInfos ()
bool CurTypeInfo (int)
std::string TypeDocumentation ()
int NofFunctions ()
short NofParameters ()
short NofOptionalParameters ()
int NofVariables ()
std::string FunctionName ()
std::string VariableName ()
std::string ParameterName ()
INVOKEKIND InvokeKind ()
VARIABLEKIND VariableKind ()
bool HasFunctionTypeFlag (TYPEFLAG)
bool IsTypeEnum ()
bool IsTypeRecord ()
bool IsTypeModule ()
bool IsTypeInterface ()
bool IsTypeDispatch ()
bool IsTypeCoClass ()
bool IsTypeAlias ()
bool IsTypeUnion ()
bool IsTypeMax ()
std::string ReturnType ()
std::string ParameterType ()
std::string VariableType ()
std::string ConstValue ()
bool NextTypeInfo ()
bool NextFunction ()
bool NextVariable ()
bool NextParameter ()
bool ParameterIsIn ()
bool ParameterIsOut ()
bool ParameterIsFLCID ()
bool ParameterIsReturnValue ()
bool ParameterIsOptional ()
bool ParameterHasDefault ()
bool ParameterHasCustumData ()
void ReleaseFuncNames ()
void GetFuncNames ()
bool ParameterIsHasX (int)
bool IsTypeKind (int)
std::string TypeDocumentation_ (ITypeInfo *)
std::string UserdefinedType (HREFTYPE)
std::string Type (ELEMDESC const &)

Public Attributes

ITypeLib * typeLib_
int nofTypeInfos_
int curTypeInfo_
ITypeInfo * curITypeInfo_
TYPEATTR * curTypeAttr_
int curTypeIdx_
int curFunc_
int curVar_
int curFuncParam_
int curImplTypeFlags_
FUNCDESC * curFuncDesc_
VARDESC * curVarDesc_
BSTR * funcNames_
unsigned int nofFuncNames_


Detailed Description

Definition at line 12 of file typelib.h.


Member Enumeration Documentation

Enumerator:
func 
get 
put 
putref 

Definition at line 48 of file typelib.h.

Enumerator:
FDEFAULT 
FSOURCE 
FRESTRICTED 
FDEFAULTVTABLE 

Definition at line 67 of file typelib.h.

Enumerator:
instance 
static_ 
const_ 
dispatch 

Definition at line 58 of file typelib.h.


Constructor & Destructor Documentation

TypeLib::TypeLib (  ) 

Definition at line 41 of file typelib.cpp.

TypeLib::TypeLib ( IDispatch *  i_unknown  ) 

Definition at line 46 of file typelib.cpp.

TypeLib::TypeLib ( ITypeLib *  i_typelib  ) 

Definition at line 66 of file typelib.cpp.

TypeLib::TypeLib ( ITypeInfo *  i_typeinfo  ) 

Definition at line 73 of file typelib.cpp.


Member Function Documentation

std::string TypeLib::ConstValue (  ) 

Definition at line 355 of file typelib.cpp.

bool TypeLib::CurTypeInfo ( int   ) 

void TypeLib::dump ( void   ) 

Definition at line 78 of file typelib.cpp.

std::string TypeLib::FunctionName (  ) 

Definition at line 545 of file typelib.cpp.

void TypeLib::GetFuncNames (  ) 

Definition at line 533 of file typelib.cpp.

bool TypeLib::HasFunctionTypeFlag ( TYPEFLAG  tf  ) 

Definition at line 351 of file typelib.cpp.

void TypeLib::init ( ITypeInfo *  i_typeInfo  ) 

Definition at line 25 of file typelib.cpp.

void TypeLib::init ( void   ) 

Definition at line 10 of file typelib.cpp.

TypeLib::INVOKEKIND TypeLib::InvokeKind (  ) 

Definition at line 315 of file typelib.cpp.

bool TypeLib::IsTypeAlias (  ) 

Definition at line 239 of file typelib.cpp.

bool TypeLib::IsTypeCoClass (  ) 

Definition at line 236 of file typelib.cpp.

bool TypeLib::IsTypeDispatch (  ) 

Definition at line 233 of file typelib.cpp.

bool TypeLib::IsTypeEnum (  ) 

Definition at line 221 of file typelib.cpp.

bool TypeLib::IsTypeInterface (  ) 

Definition at line 230 of file typelib.cpp.

bool TypeLib::IsTypeKind ( int  i  ) 

Definition at line 248 of file typelib.cpp.

bool TypeLib::IsTypeMax (  ) 

Definition at line 245 of file typelib.cpp.

bool TypeLib::IsTypeModule (  ) 

Definition at line 227 of file typelib.cpp.

bool TypeLib::IsTypeRecord (  ) 

Definition at line 224 of file typelib.cpp.

bool TypeLib::IsTypeUnion (  ) 

Definition at line 242 of file typelib.cpp.

std::string TypeLib::LibDocumentation (  ) 

Definition at line 257 of file typelib.cpp.

bool TypeLib::NextFunction (  ) 

Definition at line 323 of file typelib.cpp.

bool TypeLib::NextParameter (  ) 

Definition at line 452 of file typelib.cpp.

bool TypeLib::NextTypeInfo (  ) 

Definition at line 193 of file typelib.cpp.

bool TypeLib::NextVariable (  ) 

Definition at line 431 of file typelib.cpp.

int TypeLib::NofFunctions (  ) 

Definition at line 559 of file typelib.cpp.

short TypeLib::NofOptionalParameters (  ) 

Definition at line 576 of file typelib.cpp.

short TypeLib::NofParameters (  ) 

Definition at line 570 of file typelib.cpp.

int TypeLib::NofTypeInfos (  ) 

Definition at line 566 of file typelib.cpp.

int TypeLib::NofVariables (  ) 

Definition at line 553 of file typelib.cpp.

bool TypeLib::Open ( std::string const &  type_lib_file  ) 

Definition at line 178 of file typelib.cpp.

bool TypeLib::ParameterHasCustumData (  ) 

Definition at line 512 of file typelib.cpp.

bool TypeLib::ParameterHasDefault (  ) 

Definition at line 509 of file typelib.cpp.

bool TypeLib::ParameterIsFLCID (  ) 

Definition at line 500 of file typelib.cpp.

bool TypeLib::ParameterIsHasX ( int  flag  ) 

Definition at line 515 of file typelib.cpp.

bool TypeLib::ParameterIsIn (  ) 

Definition at line 494 of file typelib.cpp.

bool TypeLib::ParameterIsOptional (  ) 

Definition at line 506 of file typelib.cpp.

bool TypeLib::ParameterIsOut (  ) 

Definition at line 497 of file typelib.cpp.

bool TypeLib::ParameterIsReturnValue (  ) 

Definition at line 503 of file typelib.cpp.

std::string TypeLib::ParameterName (  ) 

Definition at line 482 of file typelib.cpp.

std::string TypeLib::ParameterType (  ) 

Definition at line 405 of file typelib.cpp.

void TypeLib::ReleaseFuncNames (  ) 

Definition at line 520 of file typelib.cpp.

std::string TypeLib::ReturnType (  ) 

Definition at line 423 of file typelib.cpp.

std::string TypeLib::Type ( ELEMDESC const &  ed  ) 

Definition at line 376 of file typelib.cpp.

std::string TypeLib::TypeDocumentation (  ) 

Definition at line 289 of file typelib.cpp.

std::string TypeLib::TypeDocumentation_ ( ITypeInfo *  i  ) 

Definition at line 293 of file typelib.cpp.

std::string TypeLib::UserdefinedType ( HREFTYPE  hrt  ) 

Definition at line 365 of file typelib.cpp.

TypeLib::VARIABLEKIND TypeLib::VariableKind (  ) 

Definition at line 319 of file typelib.cpp.

std::string TypeLib::VariableName (  ) 

Definition at line 464 of file typelib.cpp.

std::string TypeLib::VariableType (  ) 

Definition at line 414 of file typelib.cpp.


Member Data Documentation

Definition at line 120 of file typelib.h.

Definition at line 126 of file typelib.h.

Definition at line 122 of file typelib.h.

Definition at line 124 of file typelib.h.

Definition at line 115 of file typelib.h.

Definition at line 116 of file typelib.h.

Definition at line 118 of file typelib.h.

Definition at line 113 of file typelib.h.

Definition at line 121 of file typelib.h.

Definition at line 128 of file typelib.h.

Definition at line 130 of file typelib.h.

unsigned int TypeLib::nofFuncNames_

Definition at line 131 of file typelib.h.

Definition at line 112 of file typelib.h.

ITypeLib* TypeLib::typeLib_

Definition at line 111 of file typelib.h.


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




~ ~ ~ ~ ~ ~
Source Code without Comments is like a Cranberry Garland
without the berries. Comment your Code!
 
Commence Database User Support Group Forum
http://newsgroup.showoff-db.org/
~ ~ ~ ~ ~ ~
Author: Mark Petryk
Lorimark Solutions, LLC
mark@lorimarksolutions.com