/ inc / BerBoolObject.h
BerBoolObject.h
 1  /**
 2   * @file BerBoolObject.h
 3   * @author Rene Ceska xceska06 (xceska06@stud.fit.vutbr.cz)
 4   * @brief Boolean object for BER LDAP
 5   * @date 2023-11-19
 6   */
 7  
 8  #ifndef BERBOOLOBJECT_H
 9  #define BERBOOLOBJECT_H
10  #include "inc/BerObject.h"
11  #include "inc/ber_constants.h"
12  #include "inc/ber_helper_functions.h"
13  #include <vector>
14  
15  class BerBoolObject : public BerObject {
16  private:
17    bool value;
18  
19  public:
20    berObjectTypes getBerObjectType();
21    long long int getLenght();
22    std::vector<unsigned char> getBerRepresentation();
23    BerBoolObject(char value);
24    ~BerBoolObject();
25  };
26  
27  #endif