39 #ifndef _PLT_ARGUMENT_H_
40 #define _PLT_ARGUMENT_H_
53 typedef NPT_Array<PLT_Argument*> PLT_Arguments;
69 const char* direction =
"in",
71 bool has_ret =
false);
74 NPT_Result GetSCPDXML(NPT_XmlElementNode* node);
75 const NPT_String& GetName()
const {
return m_Name; }
76 const NPT_String& GetDirection()
const {
return m_Direction; }
77 NPT_Ordinal GetPosition() {
return m_Position; }
79 bool HasReturnValue() {
return m_HasReturnValue; }
83 NPT_Ordinal m_Position;
84 NPT_String m_Direction;
86 bool m_HasReturnValue;
106 const char* arg_name,
107 const char* arg_value,
112 NPT_Ordinal GetPosition() {
return m_ArgDesc.GetPosition(); }
113 NPT_Result SetValue(
const char* value);
114 const NPT_String& GetValue();
117 NPT_Result ValidateValue(
const char* value);
138 return argument->GetDesc().GetName().Compare(m_Name,
true) ?
false :
true;
160 return arg_desc->GetName().Compare(m_Name,
true) ?
false :
true;