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
9bbaa097
Commit
9bbaa097
authored
Feb 11, 2003
by
lw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
604dc1aa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
59 additions
and
43 deletions
+59
-43
wb/lib/wb/src/wb_orepdbs.cpp
wb/lib/wb/src/wb_orepdbs.cpp
+17
-0
wb/lib/wb/src/wb_orepdbs.h
wb/lib/wb/src/wb_orepdbs.h
+1
-3
wb/lib/wb/src/wb_vrepdbs.cpp
wb/lib/wb/src/wb_vrepdbs.cpp
+1
-0
wb/lib/wb/src/wb_vrepdbs.h
wb/lib/wb/src/wb_vrepdbs.h
+40
-40
No files found.
wb/lib/wb/src/wb_orepdbs.cpp
View file @
9bbaa097
...
...
@@ -28,6 +28,7 @@ wb_orepdbs::~wb_orepdbs()
{
}
#endif
/*
wb_orepdbs *wb_orepdbs::ref()
{
...
...
@@ -195,3 +196,19 @@ wb_adrep *wb_orepdbs::attribute(pwr_tStatus *sts, const char *name)
{
return
0
;
//m_vrep->attribute(sts, cid(), name);
}
wb_position
wb_orepdbs
::
position
()
{
wb_position
pos
;
return
pos
;
}
wb_position
wb_orepdbs
::
position
(
ldh_eDest
dest
)
{
wb_position
pos
;
return
pos
;
}
wb/lib/wb/src/wb_orepdbs.h
View file @
9bbaa097
...
...
@@ -19,10 +19,8 @@ class wb_orepdbs : public wb_orep
public:
wb_orepdbs
(
int
oid
);
wb_orepdbs
(
dbs_sObject
*
o
);
~
wb_orepdbs
();
//
~wb_orepdbs();
void
*
operator
new
(
size_t
size
,
wb_vrepdbs
*
v
);
void
operator
delete
(
void
*
p
,
wb_vrepdbs
*
v
);
...
...
wb/lib/wb/src/wb_vrepdbs.cpp
View file @
9bbaa097
...
...
@@ -29,6 +29,7 @@ wb_vrepdbs::dbsenv()
if
(
!
m_isDbsenvLoaded
)
{
ep
=
dbs_Map
(
&
sts
,
&
m_dbsenv
,
m_fileName
);
if
(
!
ep
)
{
throw
wb_error
(
sts
);
}
m_isDbsenvLoaded
=
true
;
}
else
{
...
...
wb/lib/wb/src/wb_vrepdbs.h
View file @
9bbaa097
...
...
@@ -27,76 +27,76 @@ public:
void
objectName
(
wb_orep
*
o
,
char
*
str
)
const
;
virtual
void
unref
();
virtual
wb_vrep
*
ref
();
/*virtual*/
void
unref
();
/*virtual*/
wb_vrep
*
ref
();
virtual
wb_erep
*
erep
()
const
;
/*virtual*/
wb_erep
*
erep
()
const
;
virtual
wb_orep
*
object
(
pwr_tStatus
*
sts
,
pwr_tOid
oid
);
virtual
wb_orep
*
object
(
pwr_tStatus
*
sts
,
char
*
name
);
virtual
wb_orep
*
object
(
pwr_tStatus
*
sts
,
wb_orep
*
parent
,
wb_name
name
);
/*virtual*/
wb_orep
*
object
(
pwr_tStatus
*
sts
,
pwr_tOid
oid
);
/*virtual*/
wb_orep
*
object
(
pwr_tStatus
*
sts
,
char
*
name
);
/*virtual*/
wb_orep
*
object
(
pwr_tStatus
*
sts
,
wb_orep
*
parent
,
wb_name
name
);
virtual
wb_orep
*
createObject
(
pwr_tStatus
*
sts
,
wb_cdef
cdef
,
wb_destination
d
,
wb_name
name
);
/*virtual*/
wb_orep
*
createObject
(
pwr_tStatus
*
sts
,
wb_cdef
cdef
,
wb_destination
d
,
wb_name
name
);
virtual
wb_orep
*
copyObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_destination
d
,
wb_name
name
);
virtual
bool
copyOset
(
pwr_tStatus
*
sts
,
wb_oset
*
oset
,
wb_destination
d
);
/*virtual*/
wb_orep
*
copyObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_destination
d
,
wb_name
name
);
/*virtual*/
bool
copyOset
(
pwr_tStatus
*
sts
,
wb_oset
*
oset
,
wb_destination
d
);
virtual
bool
moveObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_destination
d
);
/*virtual*/
bool
moveObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_destination
d
);
virtual
bool
deleteObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
);
virtual
bool
deleteFamily
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
);
virtual
bool
deleteOset
(
pwr_tStatus
*
sts
,
wb_oset
*
oset
);
/*virtual*/
bool
deleteObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
);
/*virtual*/
bool
deleteFamily
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
);
/*virtual*/
bool
deleteOset
(
pwr_tStatus
*
sts
,
wb_oset
*
oset
);
virtual
bool
renameObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_name
name
);
/*virtual*/
bool
renameObject
(
pwr_tStatus
*
sts
,
wb_orep
*
orep
,
wb_name
name
);
virtual
bool
commit
(
pwr_tStatus
*
sts
);
virtual
bool
abort
(
pwr_tStatus
*
sts
);
/*virtual*/
bool
commit
(
pwr_tStatus
*
sts
);
/*virtual*/
bool
abort
(
pwr_tStatus
*
sts
);
virtual
bool
writeAttribute
();
/*virtual*/
bool
writeAttribute
();
virtual
bool
readAttribute
(
wb_orep
*
o
,
pwr_tOix
bix
,
unsigned
int
offset
,
unsigned
int
size
);
/*virtual*/
bool
readAttribute
(
wb_orep
*
o
,
pwr_tOix
bix
,
unsigned
int
offset
,
unsigned
int
size
);
virtual
bool
readBody
();
/*virtual*/
bool
readBody
();
virtual
bool
writeBody
();
/*virtual*/
bool
writeBody
();
virtual
wb_orep
*
ancestor
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
ancestor
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
parent
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
parent
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
after
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
after
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
before
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
before
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
first
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
first
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
child
(
pwr_tStatus
*
sts
,
wb_orep
*
o
,
char
*
name
);
/*virtual*/
wb_orep
*
child
(
pwr_tStatus
*
sts
,
wb_orep
*
o
,
char
*
name
);
virtual
wb_orep
*
last
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
last
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
next
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
next
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_orep
*
previous
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
/*virtual*/
wb_orep
*
previous
(
pwr_tStatus
*
sts
,
wb_orep
*
o
);
virtual
wb_srep
*
newSession
();
/*virtual*/
wb_srep
*
newSession
();
virtual
pwr_tVid
vid
()
const
;
/*virtual*/
pwr_tVid
vid
()
const
;
wb_orepdbs
*
new_wb_orepdbs
(
size_t
size
);
void
delete_wb_orepdbs
(
void
*
p
);
virtual
wb_vrep
*
next
()
const
;
virtual
wb_orep
*
object
(
pwr_tStatus
*
);
virtual
bool
isLocal
(
wb_orep
*
)
const
;
virtual
pwr_tCid
cid
()
const
;
virtual
wb_merep
*
merep
()
const
;
virtual
bool
createSnapshot
(
char
*
);
virtual
void
iterObject
(
wb_dbs
*
);
virtual
void
iterRbody
(
wb_dbs
*
);
virtual
void
iterDbody
(
wb_dbs
*
);
/*virtual*/
wb_vrep
*
next
()
const
;
/*virtual*/
wb_orep
*
object
(
pwr_tStatus
*
);
/*virtual*/
bool
isLocal
(
wb_orep
*
)
const
;
/*virtual*/
pwr_tCid
cid
()
const
;
/*virtual*/
wb_merep
*
merep
()
const
;
/*virtual*/
bool
createSnapshot
(
char
*
);
/*virtual*/
void
iterObject
(
wb_dbs
*
);
/*virtual*/
void
iterRbody
(
wb_dbs
*
);
/*virtual*/
void
iterDbody
(
wb_dbs
*
);
};
...
...
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