H
hurcan solter
I am generating a bunch of class type PODs from an xml file.The thing
is,xml file has no notion of order of definitions, so I end up in
situations like;
struct a
{
b bval;
};
struct b
{
int aval;
};
which wont compile because b is not yet defined when the compiler hits
it.
I also dont want to split them into different files because there are
numerous
and also like to provide to clients a single point of entry.is there a
way to
avoid or circumvent this situation lest I should have to modify the
xml file itself?
Any help would be greatly appreciated....
is,xml file has no notion of order of definitions, so I end up in
situations like;
struct a
{
b bval;
};
struct b
{
int aval;
};
which wont compile because b is not yet defined when the compiler hits
it.
I also dont want to split them into different files because there are
numerous
and also like to provide to clients a single point of entry.is there a
way to
avoid or circumvent this situation lest I should have to modify the
xml file itself?
Any help would be greatly appreciated....