Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
lout::object::TypedPair< F, S > Class Template Reference

#include <object.hh>

Public Member Functions

 TypedPair (F *first, S *second)
 
FgetFirst ()
 
S * getSecond ()
 
- Public Member Functions inherited from lout::object::PairBase
 PairBase (Object *first, Object *second)
 
 ~PairBase ()
 
bool equals (Object *other)
 Returns, whether two objects are equal.
 
int hashValue ()
 Return a hash value for the object.
 
void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 

Additional Inherited Members

- Protected Attributes inherited from lout::object::PairBase
Objectfirst
 
Objectsecond
 

Detailed Description

template<class F, class S>
class lout::object::TypedPair< F, S >
Todo:
Comment

Definition at line 225 of file object.hh.

Constructor & Destructor Documentation

◆ TypedPair()

template<class F , class S >
lout::object::TypedPair< F, S >::TypedPair ( F first,
S *  second 
)
inline

Definition at line 228 of file object.hh.

Member Function Documentation

◆ getFirst()

template<class F , class S >
F * lout::object::TypedPair< F, S >::getFirst ( )
inline

Definition at line 230 of file object.hh.

References lout::object::PairBase::first.

◆ getSecond()

template<class F , class S >
S * lout::object::TypedPair< F, S >::getSecond ( )
inline

Definition at line 231 of file object.hh.

References lout::object::PairBase::second.


The documentation for this class was generated from the following file: