Skip to content
Snippets Groups Projects
Commit d92916ab authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Integer constructor with BIGNUM argument was made public (issue #551)


Signed-off-by: default avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 4e68d5fd
No related branches found
No related tags found
1 merge request!182Integer constructor with BIGNUM argument was made public (issue #551)
......@@ -41,9 +41,7 @@ template<typename T>
class OPTIONAL;
class INTEGER : public Base_Type {
// Private constructor for internal initialization. It's not part of the
// public API.
explicit INTEGER(BIGNUM *other_value);
int from_string(const char *);
int get_nof_digits();
......@@ -82,6 +80,7 @@ public:
INTEGER(const INTEGER& other_value);
INTEGER(int other_value);
explicit INTEGER(const char *other_value);
explicit INTEGER(BIGNUM *other_value);
~INTEGER();
void clean_up();
......
......@@ -60,6 +60,7 @@ The class `INTEGER` has the following public member functions:
|`INTEGER(int)` |Initializes to a given value.
|`INTEGER(const INTEGER&`) |Copy constructor.
|`explicit INTEGER(const char *)` |Initializes with the (NUL terminated) string representation of an integer.
|`explicit INTEGER(BIGNUM *other_value)` |Initializes with a BIGNUM object.
^.^|_Destructor_
|`˜INTEGER()` |
.2+^.^|_Assignment operators_
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment