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
5cc8d461
Commit
5cc8d461
authored
Mar 15, 2010
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ge and glow read pwg-files, improved error handling
parent
fab7ead2
Changes
39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
571 additions
and
0 deletions
+571
-0
xtt/lib/ge/src/ge_dyn.cpp
xtt/lib/ge/src/ge_dyn.cpp
+343
-0
xtt/lib/glow/src/glow_annot.cpp
xtt/lib/glow/src/glow_annot.cpp
+6
-0
xtt/lib/glow/src/glow_arc.cpp
xtt/lib/glow/src/glow_arc.cpp
+6
-0
xtt/lib/glow/src/glow_array.cpp
xtt/lib/glow/src/glow_array.cpp
+6
-0
xtt/lib/glow/src/glow_con.cpp
xtt/lib/glow/src/glow_con.cpp
+6
-0
xtt/lib/glow/src/glow_conclass.cpp
xtt/lib/glow/src/glow_conclass.cpp
+6
-0
xtt/lib/glow/src/glow_conpoint.cpp
xtt/lib/glow/src/glow_conpoint.cpp
+6
-0
xtt/lib/glow/src/glow_ctx.cpp
xtt/lib/glow/src/glow_ctx.cpp
+6
-0
xtt/lib/glow/src/glow_growannot.cpp
xtt/lib/glow/src/glow_growannot.cpp
+6
-0
xtt/lib/glow/src/glow_growarc.cpp
xtt/lib/glow/src/glow_growarc.cpp
+6
-0
xtt/lib/glow/src/glow_growaxis.cpp
xtt/lib/glow/src/glow_growaxis.cpp
+6
-0
xtt/lib/glow/src/glow_growbar.cpp
xtt/lib/glow/src/glow_growbar.cpp
+6
-0
xtt/lib/glow/src/glow_growconglue.cpp
xtt/lib/glow/src/glow_growconglue.cpp
+6
-0
xtt/lib/glow/src/glow_growconpoint.cpp
xtt/lib/glow/src/glow_growconpoint.cpp
+6
-0
xtt/lib/glow/src/glow_growctx.cpp
xtt/lib/glow/src/glow_growctx.cpp
+6
-0
xtt/lib/glow/src/glow_growfolder.cpp
xtt/lib/glow/src/glow_growfolder.cpp
+6
-0
xtt/lib/glow/src/glow_growgroup.cpp
xtt/lib/glow/src/glow_growgroup.cpp
+6
-0
xtt/lib/glow/src/glow_growimage.cpp
xtt/lib/glow/src/glow_growimage.cpp
+6
-0
xtt/lib/glow/src/glow_growline.cpp
xtt/lib/glow/src/glow_growline.cpp
+6
-0
xtt/lib/glow/src/glow_grownode.cpp
xtt/lib/glow/src/glow_grownode.cpp
+6
-0
xtt/lib/glow/src/glow_growpolyline.cpp
xtt/lib/glow/src/glow_growpolyline.cpp
+6
-0
xtt/lib/glow/src/glow_growrect.cpp
xtt/lib/glow/src/glow_growrect.cpp
+6
-0
xtt/lib/glow/src/glow_growrectrounded.cpp
xtt/lib/glow/src/glow_growrectrounded.cpp
+6
-0
xtt/lib/glow/src/glow_growslider.cpp
xtt/lib/glow/src/glow_growslider.cpp
+6
-0
xtt/lib/glow/src/glow_growsubannot.cpp
xtt/lib/glow/src/glow_growsubannot.cpp
+6
-0
xtt/lib/glow/src/glow_growtable.cpp
xtt/lib/glow/src/glow_growtable.cpp
+6
-0
xtt/lib/glow/src/glow_growtext.cpp
xtt/lib/glow/src/glow_growtext.cpp
+6
-0
xtt/lib/glow/src/glow_growtrend.cpp
xtt/lib/glow/src/glow_growtrend.cpp
+6
-0
xtt/lib/glow/src/glow_growwindow.cpp
xtt/lib/glow/src/glow_growwindow.cpp
+6
-0
xtt/lib/glow/src/glow_growxycurve.cpp
xtt/lib/glow/src/glow_growxycurve.cpp
+6
-0
xtt/lib/glow/src/glow_line.cpp
xtt/lib/glow/src/glow_line.cpp
+6
-0
xtt/lib/glow/src/glow_node.cpp
xtt/lib/glow/src/glow_node.cpp
+6
-0
xtt/lib/glow/src/glow_nodeclass.cpp
xtt/lib/glow/src/glow_nodeclass.cpp
+6
-0
xtt/lib/glow/src/glow_nodegroup.cpp
xtt/lib/glow/src/glow_nodegroup.cpp
+6
-0
xtt/lib/glow/src/glow_point.cpp
xtt/lib/glow/src/glow_point.cpp
+6
-0
xtt/lib/glow/src/glow_polyline.cpp
xtt/lib/glow/src/glow_polyline.cpp
+6
-0
xtt/lib/glow/src/glow_rect.cpp
xtt/lib/glow/src/glow_rect.cpp
+6
-0
xtt/lib/glow/src/glow_text.cpp
xtt/lib/glow/src/glow_text.cpp
+6
-0
xtt/lib/glow/src/glow_transform.cpp
xtt/lib/glow/src/glow_transform.cpp
+6
-0
No files found.
xtt/lib/ge/src/ge_dyn.cpp
View file @
5cc8d461
This diff is collapsed.
Click to expand it.
xtt/lib/glow/src/glow_annot.cpp
View file @
5cc8d461
...
...
@@ -52,6 +52,12 @@ void GlowAnnot::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowAnnot:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Annot
:
break
;
...
...
xtt/lib/glow/src/glow_arc.cpp
View file @
5cc8d461
...
...
@@ -68,6 +68,12 @@ void GlowArc::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowArc:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Arc
:
break
;
...
...
xtt/lib/glow/src/glow_array.cpp
View file @
5cc8d461
...
...
@@ -843,6 +843,12 @@ void GlowArray::open( GrowCtx *ctx, ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowArray:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Array
:
break
;
...
...
xtt/lib/glow/src/glow_con.cpp
View file @
5cc8d461
...
...
@@ -832,6 +832,12 @@ void GlowCon::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowCon:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Con
:
break
;
...
...
xtt/lib/glow/src/glow_conclass.cpp
View file @
5cc8d461
...
...
@@ -64,6 +64,12 @@ void GlowConClass::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowConClass:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_ConClass
:
break
;
...
...
xtt/lib/glow/src/glow_conpoint.cpp
View file @
5cc8d461
...
...
@@ -65,6 +65,12 @@ void GlowConPoint::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowConPoint:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_ConPoint
:
break
;
...
...
xtt/lib/glow/src/glow_ctx.cpp
View file @
5cc8d461
...
...
@@ -291,6 +291,12 @@ int GlowCtx::open( char *filename, glow_eSaveMode mode)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowCtx:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Ctx
:
break
;
...
...
xtt/lib/glow/src/glow_growannot.cpp
View file @
5cc8d461
...
...
@@ -57,6 +57,12 @@ void GrowAnnot::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowAnnot:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowAnnot
:
break
;
...
...
xtt/lib/glow/src/glow_growarc.cpp
View file @
5cc8d461
...
...
@@ -306,6 +306,12 @@ void GrowArc::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowArc:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowArc
:
break
;
...
...
xtt/lib/glow/src/glow_growaxis.cpp
View file @
5cc8d461
...
...
@@ -95,6 +95,12 @@ void GrowAxis::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowAxis:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowAxis
:
break
;
...
...
xtt/lib/glow/src/glow_growbar.cpp
View file @
5cc8d461
...
...
@@ -98,6 +98,12 @@ void GrowBar::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowBar:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowBar
:
break
;
...
...
xtt/lib/glow/src/glow_growconglue.cpp
View file @
5cc8d461
...
...
@@ -239,6 +239,12 @@ void GrowConGlue::open( ifstream& fp)
char
dummy
[
40
];
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowConGlue:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowConGlue
:
break
;
...
...
xtt/lib/glow/src/glow_growconpoint.cpp
View file @
5cc8d461
...
...
@@ -243,6 +243,12 @@ void GrowConPoint::open( ifstream& fp)
char
dummy
[
40
];
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowConPoint:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowConPoint
:
break
;
...
...
xtt/lib/glow/src/glow_growctx.cpp
View file @
5cc8d461
...
...
@@ -1982,6 +1982,12 @@ void GrowCtx::open_grow( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowCtx:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowCtx
:
break
;
...
...
xtt/lib/glow/src/glow_growfolder.cpp
View file @
5cc8d461
...
...
@@ -96,6 +96,12 @@ void GrowFolder::open( ifstream& fp)
int
tmp
;
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowFolder:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowFolder
:
break
;
...
...
xtt/lib/glow/src/glow_growgroup.cpp
View file @
5cc8d461
...
...
@@ -108,6 +108,12 @@ void GrowGroup::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowGroup:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowGroup
:
break
;
...
...
xtt/lib/glow/src/glow_growimage.cpp
View file @
5cc8d461
...
...
@@ -464,6 +464,12 @@ void GrowImage::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowImage:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowImage
:
break
;
...
...
xtt/lib/glow/src/glow_growline.cpp
View file @
5cc8d461
...
...
@@ -303,6 +303,12 @@ void GrowLine::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowLine:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowLine
:
break
;
...
...
xtt/lib/glow/src/glow_grownode.cpp
View file @
5cc8d461
...
...
@@ -201,6 +201,12 @@ void GrowNode::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowNode:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowNode
:
break
;
...
...
xtt/lib/glow/src/glow_growpolyline.cpp
View file @
5cc8d461
...
...
@@ -878,6 +878,12 @@ void GrowPolyLine::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowPolyLine:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowPolyLine
:
break
;
...
...
xtt/lib/glow/src/glow_growrect.cpp
View file @
5cc8d461
...
...
@@ -320,6 +320,12 @@ void GrowRect::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowLine:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowRect
:
break
;
...
...
xtt/lib/glow/src/glow_growrectrounded.cpp
View file @
5cc8d461
...
...
@@ -305,6 +305,12 @@ void GrowRectRounded::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowRectRounded:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowRectRounded
:
break
;
...
...
xtt/lib/glow/src/glow_growslider.cpp
View file @
5cc8d461
...
...
@@ -79,6 +79,12 @@ void GrowSlider::open( ifstream& fp)
int
tmp
;
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowSlider:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowSlider
:
break
;
...
...
xtt/lib/glow/src/glow_growsubannot.cpp
View file @
5cc8d461
...
...
@@ -269,6 +269,12 @@ void GrowSubAnnot::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowSubAnnot:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowSubAnnot
:
break
;
...
...
xtt/lib/glow/src/glow_growtable.cpp
View file @
5cc8d461
...
...
@@ -127,6 +127,12 @@ void GrowTable::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowTable:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowTable
:
break
;
...
...
xtt/lib/glow/src/glow_growtext.cpp
View file @
5cc8d461
...
...
@@ -281,6 +281,12 @@ void GrowText::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowText:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowText
:
break
;
...
...
xtt/lib/glow/src/glow_growtrend.cpp
View file @
5cc8d461
...
...
@@ -218,6 +218,12 @@ void GrowTrend::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowTrend:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowTrend
:
break
;
...
...
xtt/lib/glow/src/glow_growwindow.cpp
View file @
5cc8d461
...
...
@@ -99,6 +99,12 @@ void GrowWindow::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowWindow:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowWindow
:
break
;
...
...
xtt/lib/glow/src/glow_growxycurve.cpp
View file @
5cc8d461
...
...
@@ -61,6 +61,12 @@ void GrowXYCurve::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GrowXYWindow:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_GrowXYCurve
:
break
;
...
...
xtt/lib/glow/src/glow_line.cpp
View file @
5cc8d461
...
...
@@ -71,6 +71,12 @@ void GlowLine::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowLine:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Line
:
break
;
...
...
xtt/lib/glow/src/glow_node.cpp
View file @
5cc8d461
...
...
@@ -191,6 +191,12 @@ void GlowNode::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowNode:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Node
:
break
;
...
...
xtt/lib/glow/src/glow_nodeclass.cpp
View file @
5cc8d461
...
...
@@ -164,6 +164,12 @@ void GlowNodeClass::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowNodeClass:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_NodeClass
:
break
;
...
...
xtt/lib/glow/src/glow_nodegroup.cpp
View file @
5cc8d461
...
...
@@ -82,6 +82,12 @@ void GlowNodeGroup::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowNodeGroup:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_NodeGroup
:
break
;
...
...
xtt/lib/glow/src/glow_point.cpp
View file @
5cc8d461
...
...
@@ -89,6 +89,12 @@ void GlowPoint::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowPoint:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Point
:
break
;
...
...
xtt/lib/glow/src/glow_polyline.cpp
View file @
5cc8d461
...
...
@@ -102,6 +102,12 @@ void GlowPolyLine::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowPolyLine:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_PolyLine
:
break
;
...
...
xtt/lib/glow/src/glow_rect.cpp
View file @
5cc8d461
...
...
@@ -72,6 +72,12 @@ void GlowRect::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowRect:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Rect
:
break
;
...
...
xtt/lib/glow/src/glow_text.cpp
View file @
5cc8d461
...
...
@@ -67,6 +67,12 @@ void GlowText::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowText:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Text
:
break
;
...
...
xtt/lib/glow/src/glow_transform.cpp
View file @
5cc8d461
...
...
@@ -213,6 +213,12 @@ void GlowTransform::open( ifstream& fp)
for
(;;)
{
if
(
!
fp
.
good
())
{
fp
.
clear
();
fp
.
getline
(
dummy
,
sizeof
(
dummy
));
printf
(
"** Read error GlowTransform:
\"
%d %s
\"\n
"
,
type
,
dummy
);
}
fp
>>
type
;
switch
(
type
)
{
case
glow_eSave_Transform
:
break
;
...
...
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