You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
861 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Dr.Frucht Systems Ltd.
  3. // Copyright © 2000-2016. All Rights Reserved.
  4. // Version 2.0 3/29/2016
  5. // Last modification: 3/29/2016
  6. // PROJECT:
  7. // SUBSYSTEM:
  8. // FILE: basicObject.h
  9. // AUTHOR: gagua
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of basicObject.h
  13. //----------------------------------------------------------------------------
  14. //
  15. #ifndef __BASIC_OBJECT_HEADER__
  16. #define __BASIC_OBJECT_HEADER__
  17. #include "basicTypes.h"
  18. #include "basicValidatable.h"
  19. class basicObject : public basicValidatable
  20. {
  21. private:
  22. CSTR m_sUID;
  23. U32 m_nID;
  24. public:
  25. basicObject();
  26. ~basicObject();
  27. virtual CSTR getObjectUID(void)
  28. {
  29. return m_sUID;
  30. }
  31. virtual int getObjectId(void)
  32. {
  33. return m_nID;
  34. }
  35. virtual bool validate()
  36. {
  37. return false;
  38. }
  39. };
  40. #endif