Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. [..]
  2. void ExampleListener::key(String key) {
  3. currentKey_ = key;
  4. }
  5.  
  6. void ExampleListener::value(String key) {
  7. if (currentKey_ == "name") {
  8. name_ = value;
  9. } else if (currentKey_ == "city") {
  10. city_ = value;
  11. }
  12. }
  13. [..]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement