Ssl::CertificateDb::Row Class Reference

A wrapper for OpenSSL database row of TXT_DB database. More...

#include <certificate_db.h>

Collaboration diagram for Ssl::CertificateDb::Row:

Public Member Functions

 Row ()
 Create row wrapper. More...
 Row (char **row, size_t width)
 Create row wrapper for row with width items. More...
 ~Row ()
 Delete all row. More...
void setValue (size_t number, char const *value)
 Set cell's value in row. More...
char ** getRow ()
 Raw row. More...
void reset ()
 Abandon row and don't free memory. More...

Private Attributes

char ** row
 Raw row. More...
size_t width
 Number of cells in the row. More...

Detailed Description

Definition at line 77 of file certificate_db.h.

Constructor & Destructor Documentation

◆ Row() [1/2]

Ssl::CertificateDb::Row::Row ( )

Definition at line 116 of file

References row, and width.

◆ Row() [2/2]

Ssl::CertificateDb::Row::Row ( char **  row,
size_t  width 

Definition at line 123 of file

References row.

◆ ~Row()

Ssl::CertificateDb::Row::~Row ( )

Definition at line 128 of file

References max().

Member Function Documentation

◆ getRow()

char ** Ssl::CertificateDb::Row::getRow ( )

◆ reset()

void Ssl::CertificateDb::Row::reset ( void  )

Definition at line 152 of file

Referenced by Ssl::CertificateDb::addCertAndPrivateKey().

◆ setValue()

void Ssl::CertificateDb::Row::setValue ( size_t  number,
char const *  value 

Definition at line 157 of file

References assert.

Referenced by Ssl::CertificateDb::addCertAndPrivateKey(), and Ssl::CertificateDb::pure_find().

Member Data Documentation

◆ row

char** Ssl::CertificateDb::Row::row

Definition at line 90 of file certificate_db.h.

Referenced by Row().

◆ width

size_t Ssl::CertificateDb::Row::width

Definition at line 91 of file certificate_db.h.

Referenced by Row().

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






Web Site Translations