7#ifndef __IPREFERENCED_HPP__
8#define __IPREFERENCED_HPP__
15#if IPOPT_CHECKLEVEL > 3
16#define IP_DEBUG_REFERENCED
173 : reference_count_(0)
181 inline Index ReferenceCount()
const;
196# ifdef IP_DEBUG_REFERENCED
218# ifdef IP_DEBUG_REFERENCED
235# ifdef IP_DEBUG_REFERENCED
238 std::list<const Referencer*>::iterator iter;
Templated class which stores one entry for the CachedResult class.
Storing the reference count of all the smart pointers that currently reference it.
void AddRef(const Referencer *referencer) const
Index ReferenceCount() const
virtual ~ReferencedObject()
void ReleaseRef(const Referencer *referencer) const
Pseudo-class, from which everything has to inherit that wants to use be registered as a Referencer fo...
This file contains a base class for all exceptions and a set of macros to help with exceptions.
ipindex Index
Type of all indices of vectors, matrices etc.