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

Public Member Functions

 FloatArray ()
 
 FloatArray (size_t length)
 
 FloatArray (const FloatArray &other)
 
 FloatArray (std::initializer_list< float > list)
 
 ~FloatArray () override
 
size_t Length () const
 
void Sort ()
 
float Get (size_t index) const
 
void Set (size_t index, float item)
 
float & operator[] (const size_t index) const
 
FloatArray & operator= (const FloatArray &another)
 
- 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.
 
Object * retain () noexcept
 Increases the reference counter of this object by 1.
 
Object * autorelease () 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 String displayName () const
 Returns the display name of the object intended to present to a user.
 
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
 

Detailed Description

FloatArray

Constructor & Destructor Documentation

◆ FloatArray() [1/4]

jm::FloatArray::FloatArray ( )
inline

◆ FloatArray() [2/4]

jm::FloatArray::FloatArray ( size_t  length)
inlineexplicit

◆ FloatArray() [3/4]

jm::FloatArray::FloatArray ( const FloatArray &  other)
inline

◆ FloatArray() [4/4]

jm::FloatArray::FloatArray ( std::initializer_list< float >  list)
inline

◆ ~FloatArray()

jm::FloatArray::~FloatArray ( )
inlineoverride

Member Function Documentation

◆ Get()

float jm::FloatArray::Get ( size_t  index) const
inline

◆ Length()

size_t jm::FloatArray::Length ( ) const
inline

◆ operator=()

FloatArray & jm::FloatArray::operator= ( const FloatArray &  another)
inline

◆ operator[]()

float & jm::FloatArray::operator[] ( const size_t  index) const
inline

◆ Set()

void jm::FloatArray::Set ( size_t  index,
float  item 
)
inline

◆ Sort()

void jm::FloatArray::Sort ( )
inline