Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
Mozilla.XPCOM.TypeInfo.ParamDescriptor Struct Reference
Collaboration diagram for Mozilla.XPCOM.TypeInfo.ParamDescriptor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Type GetCLRType ()
override string ToString ()
string Name ()
bool IsOut ()
bool IsIn ()
bool IsRetVal ()
Guid GetIID ()
string GetInterfaceName ()

Public Attributes

MethodDescriptor method
int index
ParamFlags flags
TypeDescriptor type

Detailed Description

Definition at line 168 of file typeinfo.cs.


Member Function Documentation

Definition at line 175 of file typeinfo.cs.

        {
            Type t = type.AsCLRType();
            if (IsOut() && !IsRetVal()) {
                Type reft = System.Type.GetType(t.FullName + "&");
                Console.WriteLine("{0} -> {1}", t.FullName, reft.FullName);
                t = reft;
            }
            return t;
        }

Here is the call graph for this function:

Definition at line 211 of file typeinfo.cs.

        {
            if (type.tag != TypeTag.Interface) {
                throw new Exception(String.Format("{0} not an interface type",
                                                  this));
            }

            Guid iid;
            int res;
            res = typeinfo_GetIIDForParam(method.ifaceName, method.index,
                                          index, out iid);
            if (res != 0) {
                throw new 
                    Exception(String.Format("GetIIDForParam failed: {0:X8}",
                                            res));
            }
            return iid;
        }

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 230 of file typeinfo.cs.

        {
            return TypeInfo.NameForIID(GetIID());
        }

Here is the call graph for this function:

Definition at line 201 of file typeinfo.cs.

        {
            return (flags & ParamFlags.In) != 0;
        }

Here is the caller graph for this function:

Definition at line 196 of file typeinfo.cs.

        {
            return (flags & ParamFlags.Out) != 0;
        }

Here is the caller graph for this function:

Definition at line 206 of file typeinfo.cs.

        {
            return (flags & ParamFlags.RetVal) != 0;
        }

Definition at line 191 of file typeinfo.cs.

        {
            return method.Name() + ":" + index;
        }

Here is the caller graph for this function:

Definition at line 186 of file typeinfo.cs.

        {
            return "[" + flags.ToString() + "] " + type.ToString();
        }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 172 of file typeinfo.cs.

Definition at line 171 of file typeinfo.cs.

Definition at line 170 of file typeinfo.cs.

Definition at line 173 of file typeinfo.cs.


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