JX Application Framework
Loading...
Searching...
No Matches
Public Member Functions | List of all members
JMountPointList Class Reference

#include <jMountUtil.h>

Inheritance diagram for JMountPointList:
[legend]

Public Member Functions

 JMountPointList (const JPtrArrayT::CleanUpAction action)
 
 ~JMountPointList () override
 
void CleanOut ()
 
void DeleteAll ()
 
JPtrArrayT::CleanUpAction GetCleanUpAction () const
 
void SetCleanUpAction (const JPtrArrayT::CleanUpAction action)
 
- Public Member Functions inherited from JArray< JMountPoint >
 JArray (const JSize blockSize=10)
 
 JArray (const JArray< JMountPoint > &source)
 
 JArray (JArray< JMountPoint > &&dyingSource) noexcept
 
 ~JArray () override
 
JArray< JMountPoint > & operator= (const JArray< JMountPoint > &source)
 
 operator const JMountPoint * () const
 
const JMountPointGetCArray () const
 
JMountPointAllocateCArray () const
 
JMountPoint GetItem (const JIndex index) const
 
void SetItem (const JIndex index, const JMountPoint &data)
 
JMountPoint GetItemFromEnd (const JIndex index) const
 
void SetItemFromEnd (const JIndex index, const JMountPoint &data)
 
JMountPoint GetFirstItem () const override
 
JMountPoint GetLastItem () const override
 
void InsertItemAtIndex (const JIndex index, const JMountPoint &data)
 
void PrependItem (const JMountPoint &data) override
 
void AppendItem (const JMountPoint &data) override
 
void RemoveItem (const JIndex index)
 
void RemoveNextItems (const JIndex firstIndex, const JSize count)
 
void RemovePrevItems (const JIndex lastIndex, const JSize count)
 
void RemoveItems (const JIndexRange &range)
 
void RemoveItems (const JListT::ItemsRemoved &info)
 
void RemoveAll () override
 
void MoveItemToIndex (const JIndex currentIndex, const JIndex newIndex)
 
void MoveItemToIndex (const JListT::ItemMoved &info)
 
void SwapItems (const JIndex index1, const JIndex index2)
 
void SwapItems (const JListT::ItemsSwapped &info)
 
JListIterator< JMountPoint > * NewIterator (const JListT::Position start=JListT::kStartAtBeginning, const JIndex index=0) override
 
JListIterator< JMountPoint > * NewIterator (const JListT::Position start=JListT::kStartAtBeginning, const JIndex index=0) const override
 
JSize GetBlockSize () const
 
void SetBlockSize (const JSize newBlockSize)
 
void Sort ()
 
bool InsertSorted (const JMountPoint &data, const bool insertIfDuplicate=true, JIndex *index=nullptr)
 
JIndex GetInsertionSortIndex (const JMountPoint &data, bool *isDuplicate=nullptr) const
 
bool SearchSorted (const JMountPoint &target, const JListT::SearchReturn which, JIndex *index) const
 
JIndex SearchSortedOTI (const JMountPoint &target, const JListT::SearchReturn which, bool *found) const
 
void QuickSort (int(*compare)(const void *, const void *))
 
const JMountPointbegin () const
 
const JMountPointend () const
 
- Public Member Functions inherited from JList< T >
 JList ()
 
 JList (const JList< T > &source)
 
 ~JList () override
 
void SetCompareFunction (const std::function< std::weak_ordering(const T &, const T &)> compareFn)
 
void CopyCompareFunction (const JList< T > &source)
 
void ClearCompareFunction ()
 
JListT::SortOrder GetSortOrder () const
 
void SetSortOrder (const JListT::SortOrder order)
 
bool IsSorted () const
 
- Public Member Functions inherited from JCollection
 JCollection ()
 
 JCollection (const JCollection &source)
 
 ~JCollection () override
 
JCollectionoperator= (const JCollection &source)
 
JSize GetItemCount () const
 
bool IsEmpty () const
 
bool IndexValid (const JIndex index) const
 
JIndex GetIndexFromEnd (const JIndex index) const
 
JString ToString () const override
 
- Public Member Functions inherited from JBroadcaster
 JBroadcaster ()
 
virtual ~JBroadcaster ()
 
JBroadcasteroperator= (const JBroadcaster &source)
 
bool HasSenders () const
 
JSize GetSenderCount () const
 
bool HasRecipients () const
 
JSize GetRecipientCount () const
 
template<class T >
void ListenTo (const JBroadcaster *sender, const std::function< void(const T &)> &f)
 

Additional Inherited Members

- Protected Member Functions inherited from JArray< JMountPoint >
const JMountPointProtectedGetItem (const JIndex index) const
 
- Protected Member Functions inherited from JList< T >
std::function< std::weak_ordering(const T &, const T &)> * GetCompareFunction () const
 
void ListAssigned (const JList< T > &source)
 
void NotifyIterators (const JBroadcaster::Message &message)
 
- Protected Member Functions inherited from JCollection
void ItemAdded ()
 
void ItemRemoved ()
 
void SetItemCount (const JSize newItemCount)
 
- Protected Member Functions inherited from JBroadcaster
 JBroadcaster (const JBroadcaster &source)
 
void ListenTo (const JBroadcaster *sender)
 
void StopListening (const JBroadcaster *sender)
 
void ClearWhenGoingAway (const JBroadcaster *sender, void *pointerToMember)
 
void StopListening (const JBroadcaster *sender, const std::type_info &messageType)
 
template<class T >
void Send (JBroadcaster *recipient, const T &message)
 
template<class T >
void Broadcast (const T &message)
 
virtual void Receive (JBroadcaster *sender, const Message &message)
 
void SendWithFeedback (JBroadcaster *recipient, Message *message)
 
void BroadcastWithFeedback (Message *message)
 
virtual void ReceiveWithFeedback (JBroadcaster *sender, Message *message)
 
virtual void ReceiveGoingAway (JBroadcaster *sender)
 

Constructor & Destructor Documentation

◆ JMountPointList()

JMountPointList::JMountPointList ( const JPtrArrayT::CleanUpAction  action)

◆ ~JMountPointList()

JMountPointList::~JMountPointList ( )
override

Member Function Documentation

◆ CleanOut()

void JMountPointList::CleanOut ( )

◆ DeleteAll()

void JMountPointList::DeleteAll ( )

◆ GetCleanUpAction()

JPtrArrayT::CleanUpAction JMountPointList::GetCleanUpAction ( ) const

◆ SetCleanUpAction()

void JMountPointList::SetCleanUpAction ( const JPtrArrayT::CleanUpAction  action)

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