Salome HOME
projects
/
modules
/
yacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[EDF27816] : Get rid of SALOME session for 3 last tests (YacsLoader, YacsLoader_Swig...
[modules/yacs.git]
/
doc
/
cppsalome.rst
diff --git
a/doc/cppsalome.rst
b/doc/cppsalome.rst
index 91cca5922c82ec00bea6bb94526025f26ad2d5f8..c65aa624ce66f2255b91272ca74f0606da571893 100644
(file)
--- a/
doc/cppsalome.rst
+++ b/
doc/cppsalome.rst
@@
-122,8
+122,8
@@
This class contains a constructor whose arguments are imposed by SALOME, a virtu
const char *instanceName,
const char *interfaceName);
virtual ~HELLO();
const char *instanceName,
const char *interfaceName);
virtual ~HELLO();
- HELLO_ORB::status hello (
SALOMEDS::Study_ptr study,
const char* name );
- HELLO_ORB::status goodbye(
SALOMEDS::Study_ptr study,
const char* name );
+ HELLO_ORB::status hello ( const char* name );
+ HELLO_ORB::status goodbye( const char* name );
void copyOrMove( const HELLO_ORB::object_list& what,
SALOMEDS::SObject_ptr where,
CORBA::Long row, CORBA::Boolean isCopy );
void copyOrMove( const HELLO_ORB::object_list& what,
SALOMEDS::SObject_ptr where,
CORBA::Long row, CORBA::Boolean isCopy );
@@
-147,12
+147,12
@@
to load the HELLO component::
The definitions of the constructor and the HELLOEngine_factory instantiation function (both normalized!),
hello, goodbye and copyOrMove are given in the source file (HELLO.cxx)::
The definitions of the constructor and the HELLOEngine_factory instantiation function (both normalized!),
hello, goodbye and copyOrMove are given in the source file (HELLO.cxx)::
- HELLO_ORB::status HELLO::hello(
SALOMEDS::Study_ptr study,
const char* name )
+ HELLO_ORB::status HELLO::hello( const char* name )
{
...
}
{
...
}
- HELLO_ORB::status HELLO::goodbye(
SALOMEDS::Study_ptr study,
const char* name )
+ HELLO_ORB::status HELLO::goodbye( const char* name )
{
...
}
{
...
}
@@
-165,7
+165,7
@@
hello, goodbye and copyOrMove are given in the source file (HELLO.cxx)::
}
CMakeLists.txt
}
CMakeLists.txt
---------
+--------
------
Create and add library to the project::
# --- options ---
Create and add library to the project::
# --- options ---
@@
-237,7
+237,7
@@
Let us check that hello object is correctly typed, and we will call the hello se
>>> print hello
<HELLO_ORB._objref_HELLO_Gen instance at 0x8274e94>
>>> print hello
<HELLO_ORB._objref_HELLO_Gen instance at 0x8274e94>
- >>> status=hello.hello(
salome.myStudy,
"Nicolas")
+ >>> status=hello.hello("Nicolas")
>>> print status
OP_OK
>>> print status
OP_OK