25void SchemaParser::print(ostream & out)
27 typesTable_.printTypes(out);
31void TypesTable::printTypes(ostream & out)
33 out << numTypes << endl;
34 for (
int i = 0; i < numTypes; i++)
36 typesArray[i]->print(out);
42ComplexType::print (ostream & out)
47 out << simpleContentTypeId_;
50 out << attList_.size()<< endl;
51 list < Attribute >::iterator pAttr = attList_.begin ();
52 while (pAttr != attList_.end ()){
64 for (ci=cit_b;ci!=cit_e;ci++){
73ostream &
operator << (ostream & stream, Attribute & a)
78 if (!(a.defaultVal ()).empty ())
83 if (!(a.fixedVal ()).empty ())
95ostream &
operator << (ostream & stream, Element & e)
99 if (!(e.defaultVal ()).empty ())
104 if (!(e.fixedVal ()).empty ())
116SimpleType::print (ostream & out)
122 out << facetId_.size() << endl;
123 for (
size_t j = 0; j < facetId_.size(); j++)
126 if (facetId_[j] ==
ENUM)
129 for (list < string >::iterator pEnums = enumValues_.begin ();
130 pEnums != enumValues_.end (); pEnums++)
std::list< ContentHolder >::iterator ContentsIterator
int getNumParticles() const
int getBaseTypeId() const
std::string getName() const
Schema::Derivation getBaseDerivation() const
Schema::ContentModelType getContentModel() const
std::ostream & operator<<(std::ostream &os, TypeContainer &tc)
std::ostream & blk(std::ostream &str)
std::ostream & dbsp(std::ostream &str)