Advertisement
Guest User

Untitled

a guest
Dec 12th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include <string>
  4.  
  5. using std::string;
  6.  
  7. class Some
  8. {
  9. public:
  10. static const int NOT_AN_IDENTIFIER = -1;
  11.  
  12. Some();
  13. Some( int some_id, string const& name );
  14.  
  15. int ID() const;
  16. string const& Name() const;
  17.  
  18. void ResetID();
  19. void ResetID( int some_id );
  20.  
  21. void ChangeName( string const& name );
  22.  
  23. void SomeChanges( int some_id, string const& name );
  24.  
  25. private:
  26. int mID;
  27. string mName;
  28. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement