#include <long_id.h>
Public Member Functions | |
| int | getBit (int bit) const |
| int | getBits (uint8_t nr_bits) const |
| LongId< num > | getChild (int child_nr) const |
| uint8_t | getChildNr () const |
| unsigned | getMaxDepth () const |
| LongId< num > | getParent (unsigned int generations=1) const |
| bool | isRoot () const |
| bool | isRootFile () const |
| bool | isValid () const |
| unsigned int | level () const |
| LongId (uint64_t value=0) | |
| bool | operator!= (const LongId< num > &value) const |
| bool | operator< (const LongId< num > &value) const |
| LongId< num > & | operator= (const LongId< num > &o) |
| bool | operator== (const LongId< num > &value) const |
| int | size () const |
| void | toPath (unsigned folder_depth, std::string &path, std::string &file) const |
| std::string | toString () const |
Public Attributes | |
| unsigned int | id_level |
| uint64_t | ints [num] |
| megatree::LongId< num >::LongId | ( | uint64_t | value = 0 | ) | [inline] |
| int megatree::LongId< num >::getBit | ( | int | bit | ) | const [inline] |
| int megatree::LongId< num >::getBits | ( | uint8_t | nr_bits | ) | const [inline] |
| LongId<num> megatree::LongId< num >::getChild | ( | int | child_nr | ) | const [inline] |
| uint8_t megatree::LongId< num >::getChildNr | ( | ) | const [inline] |
| unsigned megatree::LongId< num >::getMaxDepth | ( | ) | const [inline] |
| LongId<num> megatree::LongId< num >::getParent | ( | unsigned int | generations = 1 | ) | const [inline] |
| bool megatree::LongId< num >::isRoot | ( | ) | const [inline] |
| bool megatree::LongId< num >::isRootFile | ( | ) | const [inline] |
| bool megatree::LongId< num >::isValid | ( | ) | const [inline] |
| unsigned int megatree::LongId< num >::level | ( | ) | const [inline] |
| bool megatree::LongId< num >::operator!= | ( | const LongId< num > & | value | ) | const [inline] |
| bool megatree::LongId< num >::operator< | ( | const LongId< num > & | value | ) | const [inline] |
| LongId<num>& megatree::LongId< num >::operator= | ( | const LongId< num > & | o | ) | [inline] |
| bool megatree::LongId< num >::operator== | ( | const LongId< num > & | value | ) | const [inline] |
| int megatree::LongId< num >::size | ( | ) | const [inline] |
| void megatree::LongId< num >::toPath | ( | unsigned | folder_depth, |
| std::string & | path, | ||
| std::string & | file | ||
| ) | const [inline] |
| std::string megatree::LongId< num >::toString | ( | ) | const [inline] |
| unsigned int megatree::LongId< num >::id_level |
| uint64_t megatree::LongId< num >::ints[num] |