Identifier.hpp
#if !defined (__IDENTIFIER_HPP)
#define __IDENTIFIER_HPP
/*
CoreLinux++
Copyright (C) 1999,2000 CoreLinux Consortium
The CoreLinux++ Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The CoreLinux++ Library Library is distributed in the hope that it will
be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#if !defined IN_COMMON_HPP
#error Identifier.hpp is included by Common.hpp only.
#endif
namespace corelinux
{
DECLARE_CLASS( Identifier );
class Identifier : public CoreLinuxObject
{
public:
Identifier( void );
Identifier( IdentifierCref );
virtual ~Identifier( void );
//
// Operator overloads
//
IdentifierRef operator=( IdentifierCref );
bool operator==( IdentifierCref ) const;
bool operator!=( IdentifierCref ) const;
bool operator<( IdentifierCref ) const;
bool operator<=( IdentifierCref ) const;
bool operator>( IdentifierCref ) const;
bool operator>=( IdentifierCref ) const;
protected:
virtual bool isEqual( IdentifierCref ) const ;
virtual bool isLessThan( IdentifierCref ) const ;
virtual bool isLessThanOrEqual( IdentifierCref ) const ;
virtual bool isGreaterThan( IdentifierCref ) const ;
virtual bool isGreaterThanOrEqual( IdentifierCref ) const ;
};
}
#endif // if !defined(__IDENTIFIER_HPP)
/*
Common rcs information do not modify
$Author: prudhomm $
$Revision: 1.1 $
$Date: 2000/04/23 20:43:13 $
$Locker: $
*/
corelinux::Identifier::isLessThan
virtual bool isLessThan(IdentifierCref) const
Less than method.
Definition: Identifier.cpp:131
corelinux::Identifier::operator!=
bool operator!=(IdentifierCref) const
Non-equality operator overload returns !isEqual(aRef)
Definition: Identifier.cpp:81
corelinux::Identifier::isLessThanOrEqual
virtual bool isLessThanOrEqual(IdentifierCref) const
Less than or equal method.
Definition: Identifier.cpp:136
corelinux::Identifier::operator>
bool operator>(IdentifierCref) const
Greater than operator overload.
Definition: Identifier.cpp:108
corelinux::Identifier::operator>=
bool operator>=(IdentifierCref) const
Greater than or equal operator overload.
Definition: Identifier.cpp:117
corelinux::Identifier::isEqual
virtual bool isEqual(IdentifierCref) const
Equality method.
Definition: Identifier.cpp:126
corelinux::Identifier::isGreaterThan
virtual bool isGreaterThan(IdentifierCref) const
Greater than method.
Definition: Identifier.cpp:141
corelinux::Identifier::~Identifier
virtual ~Identifier(void)
Virtual Destructor.
Definition: Identifier.cpp:53
corelinux::Identifier::operator<=
bool operator<=(IdentifierCref) const
Less than or equal operator overload.
Definition: Identifier.cpp:99
corelinux::Identifier
An Identifier is a abstract representation of identity.
Definition: Identifier.hpp:40
corelinux::Identifier::operator==
bool operator==(IdentifierCref) const
Equality operator overload calls isEqual virtual method.
Definition: Identifier.cpp:72
corelinux
Forward reference the various common classes.
Definition: AbstractAllocator.hpp:32
corelinux::Identifier::operator<
bool operator<(IdentifierCref) const
Less than operator overload.
Definition: Identifier.cpp:90
corelinux::Identifier::isGreaterThanOrEqual
virtual bool isGreaterThanOrEqual(IdentifierCref) const
Greater than or equal method.
Definition: Identifier.cpp:146
corelinux::Identifier::Identifier
Identifier(void)
Default Constructor.
Definition: Identifier.cpp:31
corelinux::Identifier::operator=
IdentifierRef operator=(IdentifierCref)
Assignment operator overload.
Definition: Identifier.cpp:62
corelinux::CoreLinuxObject
An CoreLinuxObject is a base class for the library.
Definition: CoreLinuxObject.hpp:39

This is the CoreLinux++ reference manual
Provided by The CoreLinux Consortium