Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Classes
Class List
Class Hierarchy
Class Members
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
Enumerator
b
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
wrap
docs
doc_template.py
Go to the documentation of this file.
1
import
xml.etree.ElementTree
as
ET
2
3
4
class
Doc
():
5
def
__init__
(self, tree):
6
self.
tree
= tree
7
8
def
get_tree
(self):
9
"""Get this Doc's tree.
10
11
Returns:
12
The xml.etree.ElementTree object of the documentation.
13
"""
14
return
self.
tree
15
16
def
__eq__
(self, other):
17
if
other
is
None
or
other.get_tree()
is
None
:
18
return
None
19
20
return
ET.tostring(self.
tree
.getroot()) == \
21
ET.tostring(other.get_tree().getroot())
22
23
24
class
ClassDoc
(
Doc
):
25
pass
26
27
28
class
FreeDoc(Doc):
29
pass
30
31
32
class
Docs
():
33
def
__init__
(self, class_docs, free_docs):
34
# These are dicts that map file_path -> Doc
35
self.
class_docs
= class_docs
36
self.
free_docs
= free_docs
37
38
def
get_class_docs
(self, class_name):
39
'''Get the documentation for the class.
40
41
Arguments:
42
class_name -- the name of the class
43
44
Returns:
45
The ClassDoc with the class's documentation. None if the class does not
46
exist.
47
'''
48
return
self.
class_docs
.
get
(class_name)
49
50
def
get_free_docs
(self, free_func_name):
51
'''Get the documentation for a free function.
52
53
Arguments:
54
free_func_name -- the name of the free function
55
56
Returns:
57
The FreeDoc with the free function's documentation. None if the class
58
does not exist.
59
'''
60
return
self.
free_docs
.
get
(free_func_name)
61
62
def
get_class_docs_keys_list
(self):
63
return
list
(self.
class_docs
)
64
65
def
get_free_docs_keys_list
(self):
66
return
list
(self.
free_docs
)
67
68
def
get_class_docs_values_list
(self):
69
return
list
(self.
class_docs
.
values
())
70
71
def
get_free_docs_values_list
(self):
72
return
list
(self.
free_docs
.
values
())
doc_template.Docs.free_docs
free_docs
Definition:
doc_template.py:36
doc_template.Doc.__init__
def __init__(self, tree)
Definition:
doc_template.py:5
doc_template.Docs.class_docs
class_docs
Definition:
doc_template.py:35
list
Definition:
pytypes.h:2168
doc_template.Docs.get_free_docs_values_list
def get_free_docs_values_list(self)
Definition:
doc_template.py:71
different_sigmas::values
HybridValues values
Definition:
testHybridBayesNet.cpp:247
doc_template.Docs.get_class_docs_values_list
def get_class_docs_values_list(self)
Definition:
doc_template.py:68
doc_template.Doc.tree
tree
Definition:
doc_template.py:6
doc_template.Docs.get_free_docs
def get_free_docs(self, free_func_name)
Definition:
doc_template.py:50
doc_template.ClassDoc
Definition:
doc_template.py:24
doc_template.Doc.__eq__
def __eq__(self, other)
Definition:
doc_template.py:16
doc_template.Docs.get_free_docs_keys_list
def get_free_docs_keys_list(self)
Definition:
doc_template.py:65
doc_template.Doc
Definition:
doc_template.py:4
doc_template.Docs
Definition:
doc_template.py:32
doc_template.Doc.get_tree
def get_tree(self)
Definition:
doc_template.py:8
doc_template.Docs.__init__
def __init__(self, class_docs, free_docs)
Definition:
doc_template.py:33
doc_template.Docs.get_class_docs
def get_class_docs(self, class_name)
Definition:
doc_template.py:38
doc_template.Docs.get_class_docs_keys_list
def get_class_docs_keys_list(self)
Definition:
doc_template.py:62
get
Container::iterator get(Container &c, Position position)
Definition:
stdlist_overload.cpp:29
gtsam
Author(s):
autogenerated on Fri Mar 28 2025 03:01:28