456 std::ifstream file(fileName);
474 std::unique_ptr<ClassSelectionRule>
csr;
475 std::unique_ptr<FunctionSelectionRule>
fsr;
476 std::unique_ptr<VariableSelectionRule>
vsr;
477 std::unique_ptr<EnumSelectionRule>
esr;
486 std::ostringstream buf;
492 out.ClearSelectionRules();
497 std::vector<Attributes>
attrs;
503 out.ClearSelectionRules();
512 out.ClearSelectionRules();
520 out.ClearSelectionRules();
527 csr->SetRequestStreamerInfo(
true);
535 out.AddClassSelectionRule(*
csr);
540 out.ClearSelectionRules();
549 out.ClearSelectionRules();
606 out.ClearSelectionRules();
617 out.ClearSelectionRules();
631 out.ClearSelectionRules();
640 out.ClearSelectionRules();
650 out.ClearSelectionRules();
657 out.ClearSelectionRules();
668 out.ClearSelectionRules();
677 out.ClearSelectionRules();
687 out.ClearSelectionRules();
701 out.ClearSelectionRules();
713 out.ClearSelectionRules();
727 out.ClearSelectionRules();
739 out.ClearSelectionRules();
744 out.ClearSelectionRules();
755 out.ClearSelectionRules();
767 out.ClearSelectionRules();
779 out.ClearSelectionRules();
783 attrs.emplace_back(
"fromTypedef",
"true");
792 out.ClearSelectionRules();
806 out.ClearSelectionRules();
832 for (
int i = 0,
n =
attrs.size(); i <
n; ++i) {
837 const std::string
attrs[11] ={
"sourceClass",
849 for (
unsigned int i=0;i<11;++i) {
928 for (
int i = 0,
n =
attrs.size(); i <
n; ++i) {
935 csr->SetRequestNoStreamer(
true);
938 "XML at line %s: class attribute 'noStreamer' must be 'true' or 'false' (it was %s)\n",
946 csr->SetRequestNoInputOperator(
true);
949 "XML at line %s: class attribute 'noInputOperator' must be 'true' or 'false' (it was %s)\n",
973 "Line %s: assigning new value %s to attribue %s (it was %s)\n",
975 out.ClearSelectionRules();
981 bsr->SetAttributeValue(
"pattern",
"*");
982 out.SetHasFileNameRule(
true);
991 "Line %s: assigning new value %s to attribue %s (it was %s)\n",
993 out.ClearSelectionRules();
1008 if (!
inClass) out.AddClassSelectionRule(*
csr);
1011 out.AddClassSelectionRule(*
csr);
1014 out.AddFunctionSelectionRule(*
fsr);
1017 out.AddVariableSelectionRule(*
vsr);
1020 out.AddEnumSelectionRule(*
esr);
1023 csr->AddFieldSelectionRule(*
vsr);
1026 csr->AddMethodSelectionRule(*
fsr);
1037 out.ClearSelectionRules();
1043 out.ClearSelectionRules();