ANNA Suite
2020b
Multipurpose development suite for Telco applications
include
anna
ldap
Scope.hpp
Go to the documentation of this file.
1
// ANNA - Anna is Not Nothingness Anymore //
2
// //
3
// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4
// //
5
// See project site at http://redmine.teslayout.com/projects/anna-suite //
6
// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9
#ifndef anna_ldap_Scope_hpp
10
#define anna_ldap_Scope_hpp
11
12
#include <
anna/core/RuntimeException.hpp
>
13
#include <
anna/config/defines.hpp
>
14
#include <
anna/core/define.autoenum.hpp
>
15
16
namespace
anna
{
17
18
namespace
ldap {
19
25
struct
Scope
{
26
enum
_v
{
27
None
= -1,
28
Base
,
29
OneLevel
,
30
SubTree
31
};
32
33
anna_declare_enum
(
ldap::Scope
);
34
40
static
const
char
*
asText
(
const
Scope::_v
v) noexcept(
false
) {
41
return
asCString(v);
42
}
43
};
44
45
}
46
}
47
48
#endif
49
anna::ldap::Scope::OneLevel
Definition:
Scope.hpp:29
define.autoenum.hpp
anna::ldap::Scope::asText
static const char * asText(const Scope::_v v) noexcept(false)
Definition:
Scope.hpp:40
anna::ldap::Scope::Base
Definition:
Scope.hpp:28
anna::ldap::Scope::anna_declare_enum
anna_declare_enum(ldap::Scope)
anna::ldap::Scope::_v
_v
Definition:
Scope.hpp:26
anna::ldap::Scope::None
Definition:
Scope.hpp:27
anna
Definition:
app.hpp:12
defines.hpp
RuntimeException.hpp
anna::ldap::Scope
Definition:
Scope.hpp:25
anna::ldap::Scope::SubTree
Definition:
Scope.hpp:30
Generated on Mon Oct 30 2023 12:15:34 for ANNA Suite by
1.8.13