Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
~
Functions
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
i
l
m
n
u
v
Typedefs
a
c
d
e
g
i
m
n
o
p
s
u
v
Enumerations
_
e
g
h
i
p
Enumerator
_
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
~
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
y
Typedefs
a
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
v
Enumerations
Enumerator
a
c
d
e
f
i
n
o
r
s
t
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
y
Functions
c
d
e
g
i
l
m
o
p
r
t
Variables
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
p
s
t
u
Enumerations
a
b
c
d
e
f
g
i
p
s
t
u
Enumerator
a
b
c
d
e
f
g
i
l
m
p
r
s
t
u
y
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
StrMap.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// (c) 2006 by Basler Vision Technologies
3
// Section: Vision Components
4
// Project: GenApi
5
// Author: Margret Albrecht
6
// $Header$
7
//
8
// License: Derived from Kirill Zaborski's MathParser library (http://kirya.narod.ru/mathparser.html ).
9
// This library comes under LGPL license (see http://www.gnu.org/licenses/lgpl.html).
10
// Kirill's implementation is a C++ port of the CCalc library from Walery Studennikov (http://www.sama.ru/~despair/ccalc/)
11
// which also comes under the LGPL.
12
//-----------------------------------------------------------------------------
17
#ifndef _STRMAP_H_
18
#define _STRMAP_H_
19
20
#include "
GenApi/GenApiNamespace.h
"
21
#include "
MathParserDll.h
"
22
29
namespace
GENAPI_NAMESPACE
30
{
31
class
MATHPARSERDLL_API
CStrMap
32
{
33
int
FCount
, FCapacity;
34
int
FExtraLen,
FRecordLen
;
35
int
FDoDuplicate
;
36
char
*
FList
;
37
public
:
38
CStrMap
(
int
extrabytes =
sizeof
(
double
),
int
dup = 0 );
39
~
CStrMap
(
void
);
40
void
AddString(
const
char
* str,
void
* data );
41
void
AddStrLen(
const
char
* str,
size_t
len,
const
void
* data );
42
void
TrimClear(
int
NewCount );
43
void
SetCapacity(
int
NewCapacity );
44
int
LenIndexOf(
const
char
* str,
size_t
len,
const
void
** data );
45
const
void
* DataAt(
int
index );
46
bool
IsEmpty
()
47
{
48
return
FCount == 0;
49
}
50
private
:
51
CStrMap
(
const
CStrMap
& );
// copy constructor is not implemented
52
CStrMap
&
operator =
(
const
CStrMap
& );
// assignment operator is not implemented
53
};
54
55
// these must match StaticFuncMapDouble
56
#define FUNC_ROUND 13
57
#define FUNC_E 18
58
#define FUNC_PI 19
59
60
class
MATHPARSERDLL_API
CStaticFuncMapDouble
61
{
62
public
:
63
static
int
LenIndexOf(
const
char
* str,
size_t
len,
const
void
** data );
64
};
65
66
class
MATHPARSERDLL_API
CStaticFuncMapInt64
67
{
68
public
:
69
static
int
LenIndexOf(
const
char
* str,
size_t
len,
const
void
** data );
70
};
71
72
}
/* GENAPI_NAMESPACE*/
73
74
#endif //_STRMAP_H_
GENAPI_NAMESPACE
Lexical analyzer for CIntSwissKnife.
Definition:
Destructible.h:30
MATHPARSERDLL_API
#define MATHPARSERDLL_API
Definition:
MathParserDll.h:46
GENAPI_NAMESPACE::CStrMap::FCount
int FCount
Definition:
StrMap.h:33
GENAPI_NAMESPACE::CStrMap::IsEmpty
bool IsEmpty()
Definition:
StrMap.h:46
GENAPI_NAMESPACE::CStaticFuncMapInt64
Definition:
StrMap.h:66
GENAPI_NAMESPACE::CStrMap::FList
char * FList
Definition:
StrMap.h:36
GENAPI_NAMESPACE::CStaticFuncMapDouble
Definition:
StrMap.h:60
GENAPI_NAMESPACE::CStrMap
Definition:
StrMap.h:31
MathParserDll.h
Export Macros.
GENAPI_NAMESPACE::CStrMap::FRecordLen
int FRecordLen
Definition:
StrMap.h:34
GenApiNamespace.h
GenICam versioned namespace.
GENAPI_NAMESPACE::operator=
virtual IBoolean & operator=(bool Value)
Set node value.
Definition:
IBoolean.h:64
GENAPI_NAMESPACE::CStrMap::FDoDuplicate
int FDoDuplicate
Definition:
StrMap.h:35
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12