Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
617a312c
Commit
617a312c
authored
Feb 19, 2003
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
b4c01e7f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
3 deletions
+28
-3
wb/lib/wb/src/wb_adef.cpp
wb/lib/wb/src/wb_adef.cpp
+7
-1
wb/lib/wb/src/wb_adef.h
wb/lib/wb/src/wb_adef.h
+2
-1
wb/lib/wb/src/wb_cdef.cpp
wb/lib/wb/src/wb_cdef.cpp
+2
-1
wb/lib/wb/src/wb_object.cpp
wb/lib/wb/src/wb_object.cpp
+17
-0
No files found.
wb/lib/wb/src/wb_adef.cpp
View file @
617a312c
...
@@ -71,7 +71,7 @@ int wb_adef::offset()
...
@@ -71,7 +71,7 @@ int wb_adef::offset()
return
m_adrep
->
offset
();
return
m_adrep
->
offset
();
}
}
int
wb_adef
::
type
()
pwr_eType
wb_adef
::
type
()
{
{
check
();
check
();
return
m_adrep
->
type
();
return
m_adrep
->
type
();
...
@@ -89,6 +89,12 @@ int wb_adef::index()
...
@@ -89,6 +89,12 @@ int wb_adef::index()
return
m_adrep
->
index
();
return
m_adrep
->
index
();
}
}
int
wb_adef
::
flags
()
{
check
();
return
m_adrep
->
flags
();
}
pwr_tOid
wb_adef
::
aoid
()
pwr_tOid
wb_adef
::
aoid
()
{
{
check
();
check
();
...
...
wb/lib/wb/src/wb_adef.h
View file @
617a312c
...
@@ -35,9 +35,10 @@ public:
...
@@ -35,9 +35,10 @@ public:
pwr_sAttrRef
aref
();
pwr_sAttrRef
aref
();
size_t
size
();
// get objects runtime body size
size_t
size
();
// get objects runtime body size
int
offset
();
int
offset
();
int
type
();
pwr_eType
type
();
int
nElement
();
int
nElement
();
int
index
();
int
index
();
int
flags
();
pwr_tOid
aoid
();
pwr_tOid
aoid
();
pwr_tAix
aix
();
pwr_tAix
aix
();
pwr_tCid
cid
();
pwr_tCid
cid
();
...
...
wb/lib/wb/src/wb_cdef.cpp
View file @
617a312c
...
@@ -76,7 +76,8 @@ wb_cdef& wb_cdef::operator=(const wb_cdef& x)
...
@@ -76,7 +76,8 @@ wb_cdef& wb_cdef::operator=(const wb_cdef& x)
void
wb_cdef
::
check
()
const
void
wb_cdef
::
check
()
const
{
{
if
(
!
m_cdrep
)
throw
wb_error
(
m_sts
);
if
(
!
m_cdrep
)
throw
wb_error
(
m_sts
);
}
}
size_t
wb_cdef
::
size
()
size_t
wb_cdef
::
size
()
...
...
wb/lib/wb/src/wb_object.cpp
View file @
617a312c
...
@@ -90,11 +90,15 @@ wb_object::operator wb_orep*() const
...
@@ -90,11 +90,15 @@ wb_object::operator wb_orep*() const
const
char
*
wb_object
::
name
()
const
char
*
wb_object
::
name
()
{
{
check
(
"wb_object::name()"
);
return
m_orep
->
name
();
return
m_orep
->
name
();
}
}
wb_name
wb_object
::
longName
()
wb_name
wb_object
::
longName
()
{
{
check
(
"wb_object::longName()"
);
return
m_orep
->
longName
();
return
m_orep
->
longName
();
}
}
...
@@ -176,6 +180,19 @@ wb_object wb_object::first()
...
@@ -176,6 +180,19 @@ wb_object wb_object::first()
return
o
;
return
o
;
}
}
//
// Get the child with the given name.
//
wb_object
wb_object
::
child
(
const
char
*
name
)
{
check
(
"wb_object::child()"
);
pwr_tStatus
sts
=
LDH__SUCCESS
;
wb_orep
*
orep
=
m_orep
->
child
(
&
sts
,
name
);
wb_object
o
(
sts
,
orep
);
return
o
;
}
//
//
// Get the last child of the current object.
// Get the last child of the current object.
//
//
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment