Flyweight.hpp
#if !defined (__FLYWEIGHT_HPP)
#define __FLYWEIGHT_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(__COMMON_HPP)
#include <Common.hpp>
#endif
namespace corelinux
{
DECLARE_CLASS( Flyweight );
class Flyweight
{
public:
//
// Constructors and destructor
//
Flyweight( void );
Flyweight( FlyweightCref );
virtual ~Flyweight( void );
//
// Operator overloads
//
FlyweightRef operator=( FlyweightCref );
bool operator==( FlyweightCref ) const;
//
// Accessors
//
//
// Mutators
//
protected:
private:
};
}
#endif // if !defined(__FLYWEIGHT_HPP)
/*
Common rcs information do not modify
$Author: prudhomm $
$Revision: 1.1 $
$Date: 2000/04/23 20:43:13 $
$Locker: $
*/
corelinux::Flyweight::operator=
FlyweightRef operator=(FlyweightCref)
Assignment operator overload.
Definition: Flyweight.cpp:62
corelinux::Flyweight
Flyweight type is used to support large numbers of fine-grained objects.
Definition: Flyweight.hpp:39
corelinux::Flyweight::operator==
bool operator==(FlyweightCref) const
Equality operator overload.
Definition: Flyweight.cpp:71
corelinux::Flyweight::Flyweight
Flyweight(void)
Default Constructor.
Definition: Flyweight.cpp:35
corelinux::Flyweight::~Flyweight
virtual ~Flyweight(void)
Virtual Destructor.
Definition: Flyweight.cpp:53

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