Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VTK
VTK
Commits
e3e2cb16
Commit
e3e2cb16
authored
Mar 01, 1994
by
Will Schroeder
Browse files
*** empty log message ***
parent
8b081c7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/CArray.hh
View file @
e3e2cb16
...
...
@@ -42,7 +42,7 @@ public:
int
InsertNextValue
(
const
int
i
)
{
this
->
InsertValue
(
++
this
->
MaxId
,
i
);
return
this
->
MaxId
;};
vlCharArray
&
operator
=
(
vlCharArray
&
ia
);
v
oid
operator
+=
(
vlCharArray
&
ia
);
v
lCharArray
&
operator
+=
(
vlCharArray
&
ia
);
void
operator
+=
(
const
char
i
)
{
this
->
InsertNextValue
(
i
);};
// operator[] can be used on both left and right side of expression;
// Note: if used on lh side, user's responsibility to do range checking
...
...
include/SArray.hh
View file @
e3e2cb16
...
...
@@ -42,7 +42,7 @@ public:
int
InsertNextValue
(
const
short
i
)
{
this
->
InsertValue
(
++
this
->
MaxId
,
i
);
return
this
->
MaxId
;};
vlShortArray
&
operator
=
(
vlShortArray
&
sa
);
vlShortArray
operator
+=
(
vlShortArray
&
sa
);
vlShortArray
&
operator
+=
(
vlShortArray
&
sa
);
void
operator
+=
(
const
short
i
)
{
this
->
InsertNextValue
(
i
);};
// operator[] can be used on both left and right side of expression;
// Note: if used on lh side, user's responsibility to do range checking
...
...
src/CArray.cc
View file @
e3e2cb16
...
...
@@ -82,7 +82,7 @@ vlCharArray& vlCharArray::operator=(vlCharArray& ia)
//
// Copy on write if used by more than one object
//
v
oid
vlCharArray
::
operator
+=
(
vlCharArray
&
ia
)
v
lCharArray
&
vlCharArray
::
operator
+=
(
vlCharArray
&
ia
)
{
int
i
,
sz
;
...
...
src/SArray.cc
View file @
e3e2cb16
...
...
@@ -82,7 +82,7 @@ vlShortArray& vlShortArray::operator=(vlShortArray& sa)
//
// Copy on write if used by more than one object
//
v
oid
vlShortArray
::
operator
+=
(
vlShortArray
&
sa
)
v
lShortArray
&
vlShortArray
::
operator
+=
(
vlShortArray
&
sa
)
{
int
i
,
sz
;
...
...
Write
Preview
Supports
Markdown
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