#include <cppParameterList.h>
Public Types | |
typedef vector< CPPInstance * > | Parameters |
Public Member Functions | |
CPPParameterList () | |
bool | is_equivalent (const CPPParameterList &other) const |
This is similar to operator == except it is more forgiving: it is true if only the length and order of types is the same, never minding the instance names or initial values. | |
bool | operator== (const CPPParameterList &other) const |
bool | operator!= (const CPPParameterList &other) const |
bool | operator< (const CPPParameterList &other) const |
bool | is_tbd () const |
Returns true if any of the types in the parameter list are base on CPPTBDType. | |
bool | is_fully_specified () const |
Returns true if this declaration is an actual, factual declaration, or false if some part of the declaration depends on a template parameter which has not yet been instantiated. | |
CPPParameterList * | substitute_decl (CPPDeclaration::SubstDecl &subst, CPPScope *current_scope, CPPScope *global_scope) |
CPPParameterList * | resolve_type (CPPScope *current_scope, CPPScope *global_scope) |
Returns an equivalent CPPParameterList, in which all of the individual types have been resolved. | |
void | output (ostream &out, CPPScope *scope, bool parameter_names, int num_default_parameters=-1) const |
If num_default_parameters is >= 0, it indicates the number of default parameter values to show on output. | |
Public Attributes | |
Parameters | _parameters |
bool | _includes_ellipsis |
|
Definition at line 62 of file cppParameterList.h. |
|
Definition at line 34 of file cppParameterList.cxx. References _includes_ellipsis, and _parameters. |
|
This is similar to operator == except it is more forgiving: it is true if only the length and order of types is the same, never minding the instance names or initial values.
Definition at line 53 of file cppParameterList.cxx. |
|
Returns true if this declaration is an actual, factual declaration, or false if some part of the declaration depends on a template parameter which has not yet been instantiated.
Definition at line 161 of file cppParameterList.cxx. Referenced by CPPFunctionType::operator=(). |
|
Returns true if any of the types in the parameter list are base on CPPTBDType.
Definition at line 137 of file cppParameterList.cxx. Referenced by CPPFunctionType::resolve_type(). |
|
Definition at line 99 of file cppParameterList.cxx. References _parameters. |
|
Definition at line 111 of file cppParameterList.cxx. References _parameters. |
|
Definition at line 76 of file cppParameterList.cxx. |
|
If num_default_parameters is >= 0, it indicates the number of default parameter values to show on output. Otherwise, all parameter values are shown. Definition at line 252 of file cppParameterList.cxx. Referenced by CPPFunctionType::is_tbd(), and CPPFunctionType::output(). |
|
Returns an equivalent CPPParameterList, in which all of the individual types have been resolved.
Definition at line 212 of file cppParameterList.cxx. References _parameters, CPPExpression::_type, NULL, and CPPExpression::output(). |
|
Definition at line 179 of file cppParameterList.cxx. References _parameters, CPPInstance::_type, current_scope, global_scope, CPPType::is_tbd(), and CPPType::resolve_type(). |
|
Definition at line 64 of file cppParameterList.h. Referenced by CPPParameterList(). |
|
Definition at line 63 of file cppParameterList.h. Referenced by CPPFunctionType::CPPFunctionType(), CPPParameterList(), InterrogateBuilder::get_getter(), TypeManager::is_const_pointer_to_base(), operator!=(), operator<(), CPPFunctionType::output_instance(), resolve_type(), and substitute_decl(). |