sipxportlib  Version 3.3
UtlCopyableContainable.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006-2011 SIPez LLC. All rights reserved.
3 // Licensed to SIPfoundry under a Contributor Agreement.
4 //
5 // Copyright (C) 2004-2006 SIPfoundry Inc.
6 // Licensed by SIPfoundry under the LGPL license.
7 //
8 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
9 // Licensed to SIPfoundry under a Contributor Agreement.
10 //
11 // $$
13 
14 
15 #ifndef _UtlCopyableContainable_h_
16 #define _UtlCopyableContainable_h_
17 
18 // SYSTEM INCLUDES
19 // APPLICATION INCLUDES
20 #include "utl/UtlDefs.h"
21 #include "utl/UtlSList.h"
22 
23 // DEFINES
24 // MACROS
25 // EXTERNAL FUNCTIONS
26 // EXTERNAL VARIABLES
27 // CONSTANTS
28 // STRUCTS
29 // TYPEDEFS
30 // FORWARD DECLARATIONS
31 
44 {
45 /* //////////////////////////// PUBLIC //////////////////////////////////// */
46 public:
47  static const UtlContainableType TYPE;
49  virtual UtlCopyableContainable* clone() const = 0;
51 
52 /* ============================ CREATORS ================================== */
53 
55 
56 virtual ~UtlCopyableContainable();
57 
58 /* ============================ MANIPULATORS ============================== */
59 
60 /* ============================ ACCESSORS ================================= */
61 
63  virtual UtlContainableType getContainableType() const;
64 
65 /* ============================ INQUIRY =================================== */
66 
68  virtual UtlBoolean isInstanceOf(const UtlContainableType type) const;
69 
70 /* //////////////////////////// PROTECTED ///////////////////////////////// */
71 protected:
72 
73 /* //////////////////////////// PRIVATE /////////////////////////////////// */
74 private:
75 
76 } ;
77 
78 /* ============================ INLINE METHODS ============================ */\
79 
80 #endif // _UtlCopyableContainable_h_
81 
virtual UtlContainableType getContainableType() const
Definition: UtlCopyableContainable.cpp:41
Definition: UtlCopyableContainable.h:43
static const UtlContainableType TYPE
Definition: UtlCopyableContainable.h:47
const char *const UtlContainableType
Definition: UtlDefs.h:70
UtlCopyableContainable()
Definition: UtlCopyableContainable.cpp:28
Definition: UtlContainable.h:37
int UtlBoolean
Definition: UtlDefs.h:41
virtual UtlBoolean isInstanceOf(const UtlContainableType type) const
Determine if this object is a derivative of the specified UtlContainableType.
Definition: UtlCopyableContainable.cpp:48
virtual UtlCopyableContainable * clone() const =0
Make an off the heap copy of this object.
virtual ~UtlCopyableContainable()
Definition: UtlCopyableContainable.cpp:33