Displaying 2 results from an estimated 2 matches for "type_ref".
2012 Sep 13
1
[LLVMdev] Parsing C++ template parameters using cindex.py
...le using cindex.py and want to get the template
parameters to a specific node. However, the tree seems to be different
depending on if the template parameter is a struct/class or a simple
type such as int or float. In the first case the template type is
appended as a child to the VAR_DECL node (the TYPE_REF node seen in
the example below), but this is not the case with for example int. Any
hint on where the template type is located for int/float/etc?
/joel de vahl
Example code:
template <typename T>
class Test
{
T test;
};
struct S
{
};
Test<int> test_int;
Test<S> test_struct;...
2009 May 15
0
[PATCH server] Starting of new ovirt QMF API.
...UUID of VM, will be assigned if left empty."))
+ method.add_argument(Qmf::SchemaArgument.new("vnic_mac_addr", Qmf::TYPE_SSTR, :desc => "MAC address of virtual NIC, will be assigned if left empty."))
+ method.add_argument(Qmf::SchemaArgument.new("vm", Qmf::TYPE_REF, :desc => "Newly created domain object id.", :dir => Qmf::DIR_OUT))
+ @ovirt_class.add_method(method)
+
+ @agent.register_class(@ovirt_class)
+ end
+
+ def start
+ @ovirt = Qmf::QmfObject.new(@ovirt_class)
+ @ovirt.set_attr("version", "0.0.0.1")
+
+...