Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
RadarValues Struct Reference

Cached song statistics. More...

#include <RadarValues.h>

Collaboration diagram for RadarValues:
Collaboration graph
[legend]

Public Member Functions

auto operator[] (RadarCategory cat) const -> int
 
auto operator[] (RadarCategory cat) -> int &
 
auto operator[] (int cat) const -> int
 
auto operator[] (int cat) -> int &
 
void MakeUnknown ()
 
void Zero ()
 
auto operator+= (const RadarValues &other) -> RadarValues &
 Add one set of radar values to another.
 
auto operator== (const RadarValues &other) const -> bool
 Determine if one set of radar values are equal to another.
 
auto operator!= (const RadarValues &other) const -> bool
 Determine if one set of radar values are not equal to another.
 
auto CreateNode () const -> XNode *
 
void LoadFromNode (const XNode *pNode)
 
auto ToString (int iMaxValues=-1) const -> std::string
 
void FromString (const std::string &sValues)
 
void PushSelf (lua_State *L)
 

Static Public Attributes

static ThemeMetric< bool > WRITE_SIMPLE_VALIES
 
static ThemeMetric< bool > WRITE_COMPLEX_VALIES
 

Detailed Description

Cached song statistics.

Member Function Documentation

◆ operator!=()

auto RadarValues::operator!= ( const RadarValues other) const -> bool
inline

Determine if one set of radar values are not equal to another.

Parameters
otherThe otehr set of radar values.
Returns
true if the two sets are not equal, false otherwise.

◆ operator+=()

auto RadarValues::operator+= ( const RadarValues other) -> RadarValues&
inline

Add one set of radar values to another.

Parameters
otherThe other set of radar values to add.
Returns
the new set of radar values.

◆ operator==()

auto RadarValues::operator== ( const RadarValues other) const -> bool
inline

Determine if one set of radar values are equal to another.

Parameters
otherThe otehr set of radar values.
Returns
true if the two sets are equal, false otherwise.

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