Guest User

Untitled

a guest
Oct 22nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. class Score{
  2. public:
  3. Score CreateScore(PartNote newnote);
  4.  
  5. private:
  6. Score const * const parent;
  7. ScoreTemplate const * const sctmplt;
  8.  
  9. Score(Score const*const old, PartNote const*const newnote):sctmplt(old->sctmplt),notes(newnote), parent(this){}
  10.  
  11. };
  12.  
  13. Score Score::CreateScore(PartNote const newnote)
  14. {
  15. Score ret = new Score(this, newnote);
  16. return ret;
  17. }
Add Comment
Please, Sign In to add comment