Home | History | Annotate | Download | only in examples

Lines Matching refs:person

12     const tutorial::Person& person = address_book.person(i);
14 cout << "Person ID: " << person.id() << endl;
15 cout << " Name: " << person.name() << endl;
16 if (person.has_email()) {
17 cout << " E-mail address: " << person.email() << endl;
20 for (int j = 0; j < person.phone_size(); j++) {
21 const tutorial::Person::PhoneNumber& phone_number = person.phone(j);
24 case tutorial::Person::MOBILE:
27 case tutorial::Person::HOME:
30 case tutorial::Person::WORK: