Jameo Core Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
jm::LListElement Class Reference
Inheritance diagram for jm::LListElement:
jm::Object

Public Member Functions

 LListElement ()=default
 
 ~LListElement () override=default
 
jm::String displayName () const override
 Returns the display name of the object intended to present to a user.
 
- Public Member Functions inherited from jm::Object
 Object () noexcept
 Constructor.
 
virtual ~Object () noexcept
 Destructor.
 
void release () noexcept
 Decreases the reference counter and releases the object immediately when the reference counter becomes 0.
 
Objectretain () noexcept
 Increases the reference counter of this object by 1.
 
Objectautorelease () noexcept
 Same function as release(), but releases the object with a delay if the reference counter is 0. AutoreleasePool::drain() must be called in the to release the object.
 
int32 referenceCount () const noexcept
 Returns the value of the reference counter.
 
virtual bool equals (const Object *other) const
 Comparison of objects.
 
virtual void printDiffInfo (DiffOperation operation, Object *other) const
 Output method for outputting the diff results for the diff algorithm.
 
void setHighBit (bool status) noexcept
 
bool highBit () const noexcept
 

Public Attributes

LListElementnext = nullptr
 
LListElementprev = nullptr
 
Objectdata = nullptr
 

Constructor & Destructor Documentation

◆ LListElement()

jm::LListElement::LListElement ( )
default

◆ ~LListElement()

jm::LListElement::~LListElement ( )
overridedefault

Member Function Documentation

◆ displayName()

jm::String jm::LListElement::displayName ( ) const
overridevirtual

Returns the display name of the object intended to present to a user.

This method should be implemented by objects that want to present the name of the object to the user of an application. For example the diff-algorithm uses this or also the dwg objects.

Reimplemented from jm::Object.

Member Data Documentation

◆ data

Object* jm::LListElement::data = nullptr

◆ next

LListElement* jm::LListElement::next = nullptr

◆ prev

LListElement* jm::LListElement::prev = nullptr