Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. documentclass{article}
  2. usepackage[shellescape]{gmp}
  3. begin{document}
  4. begin{mpost}[mpsettings={input metauml;},use]
  5.  
  6. Class.Config("Config")
  7. ("-key1:char*","-value1:char*","-key2:char*","-value2:char*","-key3:char*","-value3:char*","-key4:char*","-value4:char*","-key5:char*","-value5:char*")
  8. ("+setValues(key1:char*,value1:char*, key2:char*,value2:char*, key3:char*,value3:char*,key4:char*,value4:char*,key5:char*,value5:char*)");
  9. drawObjects(Config);
  10.  
  11. end{mpost}
  12. end{document}
  13.  
  14. Class.A("Point")
  15. ("#x:int",
  16. "#y:int")
  17. ("+set(x:int, y:int)",
  18. "+getX():int",
  19. "+getY():int",
  20. "-debug():void",
  21. "test():void");
  22. drawObject(A);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement