Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Private Member Functions
nsXPTMethodInfo Class Reference

#include <xptinfo.h>

Inheritance diagram for nsXPTMethodInfo:
Inheritance graph
[legend]
Collaboration diagram for nsXPTMethodInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsXPTMethodInfo (const XPTMethodDescriptor &desc)
PRBool IsGetter () const
PRBool IsSetter () const
PRBool IsNotXPCOM () const
PRBool IsConstructor () const
PRBool IsHidden () const
const char * GetName () const
uint8 GetParamCount () const
const nsXPTParamInfo GetParam (uint8 idx) const
const nsXPTParamInfo GetResult () const

Public Attributes

char * name
XPTParamDescriptorparams
XPTParamDescriptorresult
PRUint8 flags
PRUint8 num_args

Private Member Functions

 nsXPTMethodInfo ()

Detailed Description

Definition at line 209 of file xptinfo.h.


Constructor & Destructor Documentation

Definition at line 213 of file xptinfo.h.

        {*(XPTMethodDescriptor*)this = desc;}

Member Function Documentation

const char* nsXPTMethodInfo::GetName ( void  ) const [inline]

Definition at line 221 of file xptinfo.h.

{return name;}

Here is the caller graph for this function:

Definition at line 224 of file xptinfo.h.

        {
            NS_PRECONDITION(idx < GetParamCount(),"bad arg");
            return params[idx];
        }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 222 of file xptinfo.h.

{return num_args;}

Here is the caller graph for this function:

Definition at line 229 of file xptinfo.h.

        {return *result;}

Definition at line 219 of file xptinfo.h.

{return 0 != (XPT_MD_IS_CTOR(flags)   );}
PRBool nsXPTMethodInfo::IsGetter ( ) const [inline]

Definition at line 216 of file xptinfo.h.

{return 0 != (XPT_MD_IS_GETTER(flags) );}

Here is the caller graph for this function:

PRBool nsXPTMethodInfo::IsHidden ( ) const [inline]

Definition at line 220 of file xptinfo.h.

{return 0 != (XPT_MD_IS_HIDDEN(flags) );}

Here is the caller graph for this function:

PRBool nsXPTMethodInfo::IsNotXPCOM ( ) const [inline]

Definition at line 218 of file xptinfo.h.

{return 0 != (XPT_MD_IS_NOTXPCOM(flags));}

Here is the caller graph for this function:

PRBool nsXPTMethodInfo::IsSetter ( ) const [inline]

Definition at line 217 of file xptinfo.h.

{return 0 != (XPT_MD_IS_SETTER(flags) );}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 476 of file xpt_struct.h.

char* XPTMethodDescriptor::name [inherited]

Definition at line 473 of file xpt_struct.h.

Definition at line 477 of file xpt_struct.h.

Definition at line 474 of file xpt_struct.h.

Definition at line 475 of file xpt_struct.h.


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