Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
Signum Class Reference

#include "lib/time/digxel.hpp"

Description

special Digxel to show a sign.

Note
values limited to +1 and -1

Definition at line 316 of file digxel.hpp.

Public Member Functions

 Signum ()
 
- Public Member Functions inherited from Digxel< int, digxel::SignFormatter >
void installMutator (FUN mutate, THIS &self)
 install an external functor to be applied on any new digxel value.
 
 Digxel ()
 
 operator int () const
 
 operator string () const
 
size_t maxlen () const
 
digxel::CBuf show () const
 
void operator= (int n)
 
void setValueRaw (int newVal)
 
Digxeloperator+= (int inc)
 
Digxeloperator-= (int dec)
 
Digxeloperator++ ()
 
int operator++ (int)
 
Digxeloperator-- ()
 
int operator-- (int)
 
auto operator<=> (Digxel const &o) const
 
bool operator== (Digxel const &o) const
 

Friends

int operator*= (Signum &s, int c)
 

Private Types

typedef Digxel< int, digxel::SignFormatter_Par
 

Private Member Functions

void storeSign (int val)
 

Constructor & Destructor Documentation

◆ Signum()

Signum ( )
inline

Definition at line 328 of file digxel.hpp.

References Digxel< int, digxel::SignFormatter >::installMutator(), Digxel< int, digxel::SignFormatter >::setValueRaw(), and Signum::storeSign().

+ Here is the call graph for this function:

Member Typedef Documentation

◆ _Par

typedef Digxel<int, digxel::SignFormatter> _Par
private

Definition at line 319 of file digxel.hpp.

Member Function Documentation

◆ storeSign()

void storeSign ( int  val)
inlineprivate

Definition at line 322 of file digxel.hpp.

References Digxel< int, digxel::SignFormatter >::setValueRaw().

Referenced by Signum::Signum().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator*=

int operator*= ( Signum s,
int  c 
)
friend

Definition at line 336 of file digxel.hpp.

+ Inheritance diagram for Signum:
+ Collaboration diagram for Signum:

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