diff --git a/docs/classIdenticonpp-members.html b/docs/classIdenticonpp-members.html index 67f3d2e..87ec3dd 100644 --- a/docs/classIdenticonpp-members.html +++ b/docs/classIdenticonpp-members.html @@ -46,23 +46,10 @@ $(function() {
This is the complete list of members for Identiconpp, including all inherited members.
_background (defined in Identiconpp) | Identiconpp | protected |
_columns (defined in Identiconpp) | Identiconpp | protected |
_foreground (defined in Identiconpp) | Identiconpp | protected |
_padding (defined in Identiconpp) | Identiconpp | protected |
_rows (defined in Identiconpp) | Identiconpp | protected |
_type (defined in Identiconpp) | Identiconpp | protected |
algorithm enum name | Identiconpp | |
check_color(const string &color) | Identiconpp | protected |
check_entropy(const string &digest, algorithm type) | Identiconpp | protected |
generate(const string &digest, const uint16_t width=100) | Identiconpp | |
generate_ltr_asymmetric(const string &digest) | Identiconpp | protected |
generate_ltr_symmetric(const string &digest) | Identiconpp | protected |
generate_sigil(const string &digest) | Identiconpp | protected |
get_bit(const uint16_t bit, const string &digest) | Identiconpp | protected |
get_color(const uint16_t firstbit, const string &digest) | Identiconpp | protected |
Identiconpp(const uint8_t columns, const uint8_t rows, algorithm type=algorithm::ltr_symmetric, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }, const array< const uint8_t, 2 > &padding={ 0, 0 }) | Identiconpp | explicit |
not_hex(const char c) | Identiconpp | protectedstatic |
Identiconpp(const uint8_t columns, const uint8_t rows, algorithm type=algorithm::ltr_symmetric, const string &background="ffffffff", const vector< string > &foreground={ "000000ff" }, const array< const uint8_t, 2 > &padding={ 0, 0 }) | Identiconpp | explicit |
Testiconpp (defined in Identiconpp) | Identiconpp | friend |
-Protected Member Functions | |
Magick::Image | generate_ltr_symmetric (const string &digest) |
Generate ltr_symmetric identicon. More... | |
Magick::Image | generate_ltr_asymmetric (const string &digest) |
Generate ltr_asymmetric identicon. More... | |
Magick::Image | generate_sigil (const string &digest) |
Generate sigil identicon. More... | |
void | check_entropy (const string &digest, algorithm type) |
Check if the digest contains enough entropy. More... | |
bool | get_bit (const uint16_t bit, const string &digest) |
Determines if the n-th bit of passed digest is 1 or 0. More... | |
Magick::Color | get_color (const uint16_t firstbit, const string &digest) |
Chooses a foreground color. More... | |
void | check_color (const string &color) |
Performs checks on a color definition in a string. More... | |
-Static Protected Member Functions | |
static bool | not_hex (const char c) |
Checks if character is not hexadecimal. More... | |
-Protected Attributes | |
-const uint8_t | _rows |
-const uint8_t | _columns |
-const algorithm | _type |
-const string | _background |
-const vector< string > | _foreground |
-const array< const uint8_t, 2 > | _padding |
+Friends | |
+class | Testiconpp |
Base class for identiconpp.
@@ -159,7 +112,7 @@ const array< const uint8_t, 2 >Generates the same results as sigil and pydenticon.
-
|
- -protected | -
Performs checks on a color definition in a string.
-color | The color as string |
-
|
- -protected | -
Check if the digest contains enough entropy.
-Throws std::invalid_argument
if not.
digest | The pre-computed digest |
type | The type of identicon |
-
|
- -protected | -
Generate ltr_asymmetric identicon.
-Use bits 0 to _columns * _rows, use the following bits to determine foreground color. Squares are drawn from left to right, top to bottom.
-digest | The pre-computed digest |
-
|
- -protected | -
Generate ltr_symmetric identicon.
-Use bits 0 to (_columns / 2 + _columns % 2) * _rows, use the following bits to determine foreground color. Squares are drawn from left to right, top to bottom.
-digest | The pre-computed digest |
-
|
- -protected | -
Generate sigil identicon.
-Use bits 9 to (_columns / 2 + _columns % 2) * _rows, use the first 8 bits to determine foreground color. Squares are drawn from top to bottom, left to right.
-digest | The pre-computed digest |
-
|
- -protected | -
Determines if the n-th bit of passed digest is 1 or 0.
-bit | Bit to get |
digest | The digest |
-
|
- -protected | -
Chooses a foreground color.
-Extracts the right bits from the digest and returns a color.
-firstbit | The first bit of the digest to choose a color |
digest | The digest |
-
|
- -staticprotected | -
Checks if character is not hexadecimal.
-c | Character to check |