Guest User

Untitled

a guest
Jun 15th, 2013
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. /*
  3. * A structure is composed of several sections.
  4. * This class stores all section-related data.
  5. */
  6. class StructureSection {
  7. public:
  8. }
  9.  
  10. /*
  11. * Structure definition class.
  12. * Used to store all structure-related data and manage its sections
  13. */
  14. class Structure {
  15. public:
  16. private:
  17. StructureSection *sections;
  18. };
  19.  
  20. /*
  21. * Used in structure placing.
  22. * This class is used to decide whether to place or not,
  23. * where to place, and carries out the placement procedure.
  24. */
  25. class StructureGenerator{
  26. public:
  27. void generateStructures();
  28. };
  29.  
  30. /*
  31. * Manages structure definitions, such as adding new
  32. * or retrieving its data.
  33. */
  34. class StructureDefManager {
  35. public:
  36. void registerStructure();
  37. void finishRegisteringProcess();
  38.  
  39. /* Obtains the structure that best matches the given conditions */
  40. void getMatchingStructure();
  41.  
  42. private:
  43. Structure *structures;
  44. };
RAW Paste Data