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
f1f25bed
Commit
f1f25bed
authored
Dec 03, 2008
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
const char was missing in virtual function set_trace_attr
parent
bfbc1bb7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
xtt/lib/flow/src/flow_con.h
xtt/lib/flow/src/flow_con.h
+2
-2
xtt/lib/flow/src/flow_conpoint.cpp
xtt/lib/flow/src/flow_conpoint.cpp
+2
-2
xtt/lib/flow/src/flow_conpoint.h
xtt/lib/flow/src/flow_conpoint.h
+2
-2
No files found.
xtt/lib/flow/src/flow_con.h
View file @
f1f25bed
/*
/*
* Proview $Id: flow_con.h,v 1.
5 2008-10-31 12:51:33
claes Exp $
* Proview $Id: flow_con.h,v 1.
6 2008-12-03 12:01:21
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
...
@@ -190,7 +190,7 @@ class FlowCon : public FlowArrayElem {
...
@@ -190,7 +190,7 @@ class FlowCon : public FlowArrayElem {
void
*
user_data
;
void
*
user_data
;
void
set_user_data
(
void
*
data
)
{
user_data
=
data
;};
void
set_user_data
(
void
*
data
)
{
user_data
=
data
;};
void
get_user_data
(
void
**
data
)
{
*
data
=
user_data
;};
void
get_user_data
(
void
**
data
)
{
*
data
=
user_data
;};
void
set_trace_attr
(
c
har
*
object
,
char
*
attribute
,
flow_eTraceType
type
,
int
inverted
)
void
set_trace_attr
(
c
onst
char
*
object
,
const
char
*
attribute
,
flow_eTraceType
type
,
int
inverted
)
{
strncpy
(
trace_object
,
object
,
sizeof
(
trace_object
));
{
strncpy
(
trace_object
,
object
,
sizeof
(
trace_object
));
strncpy
(
trace_attribute
,
attribute
,
sizeof
(
trace_attribute
));
strncpy
(
trace_attribute
,
attribute
,
sizeof
(
trace_attribute
));
trace_attr_type
=
type
;};
trace_attr_type
=
type
;};
...
...
xtt/lib/flow/src/flow_conpoint.cpp
View file @
f1f25bed
/*
/*
* Proview $Id: flow_conpoint.cpp,v 1.
5 2008-10-31 12:51:33
claes Exp $
* Proview $Id: flow_conpoint.cpp,v 1.
6 2008-12-03 12:01:21
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
...
@@ -126,7 +126,7 @@ int FlowConPoint::get_conpoint( int num, double *x, double *y,
...
@@ -126,7 +126,7 @@ int FlowConPoint::get_conpoint( int num, double *x, double *y,
return
0
;
return
0
;
}
}
void
FlowConPoint
::
set_trace_attr
(
c
har
*
object
,
char
*
attribute
,
void
FlowConPoint
::
set_trace_attr
(
c
onst
char
*
object
,
const
char
*
attribute
,
flow_eTraceType
type
,
int
inverted
)
flow_eTraceType
type
,
int
inverted
)
{
{
strncpy
(
trace_attribute
,
attribute
,
sizeof
(
trace_attribute
));
strncpy
(
trace_attribute
,
attribute
,
sizeof
(
trace_attribute
));
...
...
xtt/lib/flow/src/flow_conpoint.h
View file @
f1f25bed
/*
/*
* Proview $Id: flow_conpoint.h,v 1.
6 2008-10-31 12:51:33
claes Exp $
* Proview $Id: flow_conpoint.h,v 1.
7 2008-12-03 12:01:21
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
...
@@ -54,7 +54,7 @@ class FlowConPoint : public FlowArrayElem {
...
@@ -54,7 +54,7 @@ class FlowConPoint : public FlowArrayElem {
double
*
x_left
,
double
*
y_high
,
double
*
y_low
,
void
*
node
)
{};
double
*
x_left
,
double
*
y_high
,
double
*
y_low
,
void
*
node
)
{};
int
get_conpoint
(
int
num
,
double
*
x
,
double
*
y
,
flow_eDirection
*
dir
);
int
get_conpoint
(
int
num
,
double
*
x
,
double
*
y
,
flow_eDirection
*
dir
);
flow_eObjectType
type
()
{
return
flow_eObjectType_ConPoint
;};
flow_eObjectType
type
()
{
return
flow_eObjectType_ConPoint
;};
void
set_trace_attr
(
c
har
*
object
,
char
*
attribute
,
flow_eTraceType
type
,
int
inverted
);
void
set_trace_attr
(
c
onst
char
*
object
,
const
char
*
attribute
,
flow_eTraceType
type
,
int
inverted
);
void
get_trace_attr
(
char
*
object
,
char
*
attribute
,
flow_eTraceType
*
type
,
int
*
inverted
);
void
get_trace_attr
(
char
*
object
,
char
*
attribute
,
flow_eTraceType
*
type
,
int
*
inverted
);
FlowCtx
*
ctx
;
FlowCtx
*
ctx
;
int
number
;
int
number
;
...
...
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