sipxportlib
Version 3.3
Main Page
Classes
Files
File List
File Members
include
os
OsContactList.h
Go to the documentation of this file.
1
//
2
// Copyright (C) 2006 Pingtel Corp.
3
//
4
//
5
// $$
8
9
10
#ifndef _OsContactList_h_
11
#define _OsContactList_h_
12
13
// SYSTEM INCLUDES
14
// APPLICATION INCLUDES
15
#include "
utl/UtlSList.h
"
16
#include "
os/OsContact.h
"
17
18
// DEFINES
19
// MACROS
20
// EXTERNAL FUNCTIONS
21
// EXTERNAL VARIABLES
22
// CONSTANTS
23
// STRUCTS
24
// TYPEDEFS
25
// FORWARD DECLARATIONS
26
class
UtlContainable
;
27
36
class
OsContactList
:
public
UtlSList
37
{
38
/* //////////////////////////// PUBLIC //////////////////////////////////// */
39
public
:
40
41
/* ============================ FRIENDS =================================== */
42
friend
class
OsContactListTest
;
43
44
/* ============================ CREATORS ================================== */
45
46
50
OsContactList
();
51
52
/* ============================ MANIPULATORS ============================== */
53
61
void
setPrimary
(
const
OsContact
& contact);
62
63
/* ============================ INQUIRY =================================== */
64
70
const
OsContact
*
getPrimary
();
71
72
76
virtual
UtlContainableType
getContainableType
()
const
;
77
78
/* //////////////////////////// PROTECTED ///////////////////////////////// */
79
protected
:
80
friend
class
UtlSListIterator
;
81
82
83
static
const
UtlContainableType
TYPE
;
84
85
/* //////////////////////////// PRIVATE /////////////////////////////////// */
86
private
:
87
88
} ;
89
90
/* ============================ INLINE METHODS ============================ */
91
92
#endif // _OsContactList_h_
93
94
UtlSListIterator
Definition:
UtlSListIterator.h:37
OsContact.h
OsContactList::TYPE
static const UtlContainableType TYPE
Definition:
OsContactList.h:83
OsContactList::getPrimary
const OsContact * getPrimary()
Definition:
OsContactList.cpp:53
UtlSList.h
OsContact
Definition:
OsContact.h:45
UtlContainableType
const char *const UtlContainableType
Definition:
UtlDefs.h:70
OsContactList::OsContactListTest
friend class OsContactListTest
Definition:
OsContactList.h:42
UtlContainable
Definition:
UtlContainable.h:37
OsContactList::setPrimary
void setPrimary(const OsContact &contact)
Definition:
OsContactList.cpp:44
UtlSList
Definition:
UtlSList.h:47
OsContactList::OsContactList
OsContactList()
Definition:
OsContactList.cpp:28
OsContactList::getContainableType
virtual UtlContainableType getContainableType() const
Definition:
OsContactList.cpp:39
OsContactList
Definition:
OsContactList.h:36
Generated by
1.8.11