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
d1a24067
Commit
d1a24067
authored
Oct 23, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb load with ignore objid implemented
parent
9bdace30
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
wb/lib/wb/src/wb_vrepwbl.h
wb/lib/wb/src/wb_vrepwbl.h
+2
-2
wb/lib/wb/src/wb_wblnode.cpp
wb/lib/wb/src/wb_wblnode.cpp
+2
-2
No files found.
wb/lib/wb/src/wb_vrepwbl.h
View file @
d1a24067
/*
/*
* Proview $Id: wb_vrepwbl.h,v 1.3
7 2006-05-24 15:00:41
claes Exp $
* Proview $Id: wb_vrepwbl.h,v 1.3
8 2007-10-23 08:54:16
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -40,7 +40,6 @@ class wb_vrepwbl : public wb_vrep
...
@@ -40,7 +40,6 @@ class wb_vrepwbl : public wb_vrep
wb_erep
*
m_erep
;
wb_erep
*
m_erep
;
wb_merep
*
m_merep
;
wb_merep
*
m_merep
;
unsigned
int
m_nRef
;
unsigned
int
m_nRef
;
bool
m_ignore_oix
;
map
<
string
,
ref_wblnode
>
m_type_list
;
map
<
string
,
ref_wblnode
>
m_type_list
;
map
<
pwr_tTid
,
ref_wblnode
>
m_tid_list
;
map
<
pwr_tTid
,
ref_wblnode
>
m_tid_list
;
...
@@ -74,6 +73,7 @@ public:
...
@@ -74,6 +73,7 @@ public:
int
load_files
(
const
char
*
file_spec
);
int
load_files
(
const
char
*
file_spec
);
void
info
();
void
info
();
bool
m_ignore_oix
;
wb_wblfile
*
file
[
WBL_FILEMAX
];
wb_wblfile
*
file
[
WBL_FILEMAX
];
wb_wblnode
*
root_object
;
wb_wblnode
*
root_object
;
...
...
wb/lib/wb/src/wb_wblnode.cpp
View file @
d1a24067
/*
/*
* Proview $Id: wb_wblnode.cpp,v 1.5
8 2007-09-19 15:19:10
claes Exp $
* Proview $Id: wb_wblnode.cpp,v 1.5
9 2007-10-23 08:54:16
claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
* Copyright (C) 2005 SSAB Oxelsund AB.
*
*
* This program is free software; you can redistribute it and/or
* This program is free software; you can redistribute it and/or
...
@@ -1657,7 +1657,7 @@ void wb_wblnode::registerNode( wb_vrepwbl *vol)
...
@@ -1657,7 +1657,7 @@ void wb_wblnode::registerNode( wb_vrepwbl *vol)
if
((
second_child
->
getType
()
==
tokens
.
VALUE
)
||
if
((
second_child
->
getType
()
==
tokens
.
VALUE
)
||
(
second_child
->
getType
()
==
tokens
.
INT
))
{
(
second_child
->
getType
()
==
tokens
.
INT
))
{
string
oixstr
=
second_child
->
getText
();
string
oixstr
=
second_child
->
getText
();
if
(
!
stringToOix
(
oixstr
.
c_str
(),
&
o
->
m_oid
.
oix
))
{
if
(
!
stringToOix
(
oixstr
.
c_str
(),
&
o
->
m_oid
.
oix
)
||
m_vrep
->
m_ignore_oix
)
{
o
->
m_oid
.
oix
=
m_vrep
->
nextOix
();
o
->
m_oid
.
oix
=
m_vrep
->
nextOix
();
}
}
if
(
third_child
&&
third_child
->
getType
()
==
tokens
.
ASC_TIME
)
{
if
(
third_child
&&
third_child
->
getType
()
==
tokens
.
ASC_TIME
)
{
...
...
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