43 Part(
const std::string& n);
45 PartRefType refType()
const;
46 std::string name()
const;
50 void setPartType(
int typeId,
int schema);
51 void setPartElement(
const Element* e,
int schema);
54 PartRefType discriminator;
76 int getNumParts(
void)
const;
83 int getPartIndex(std::string & nam)
const ;
90 int getPartType(
int index)
const;
91 int getPartType(
const std::string & nam)
const;
100 const Element * getPartElement(
int index)
const;
106 const Part* getMessagePart(
size_t index)
const;
107 const Part* getMessagePart(
const std::string & nam)
const;
113 int getPartContentSchemaId(
int index)
const;
114 int getPartContentSchemaId(
const std::string & nam)
const;
116 std::string getPartName(
int index)
const;
126 void addPart(std::string pname,
135 std::vector<Part> parts;
162 return parts[index].name();
169 return parts[index].schemaId();
176 return parts[index].type();
183 return parts[index].element();
201 return discriminator;
const Element * getPartElement(int index) const
int getNumParts(void) const
Part(const std::string &n)
std::string getPartName(int index) const
PartRefType refType() const
int getPartContentSchemaId(int index) const
int getPartType(int index) const