Changeset 2999 in Sophya for trunk/SophyaPI/PIext/piacmd.cc


Ignore:
Timestamp:
Jul 2, 2006, 7:20:56 PM (19 years ago)
Author:
ansari
Message:

1/ Ajout methode Services2NObjMgr::DisplayPoints3DW() et commande plot3dw
2/ Ajout et utilisation methode de verification de nom NamedObjMgr::CheckName()
3/ Changement methode NObjMgrAdapter::GetInfoString() et son utilisation
a travers la methdoe PIACmd::GetVarApp() pour acces de type $objname
4/ Ajout methode NObjMgrAdapter::PerformOperation() , implemente pour
adaptateur TMatrix<T> et TArray<T> pour extraction de ligne/colonne
(des matrices) et plan (slice) des TArray pour Rank()>3 Et mise en place
de la commande objaoper pour appel a PerformOperation()
5/ Petites corrections pour ntline2var vec2var

Reza 2 Juillet 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piacmd.cc

    r2812 r2999  
    322322}
    323323
     324/* --Methode-- */
     325bool PIACmd::GetVarApp(string const & vn, string & vv)
     326{
     327  vv = "";
     328  if (mObjMgr == NULL) return false;
     329  vector<string> opts;
     330  SplitStringToVString(vn, opts, '.');
     331  string nom = opts[0];
     332  opts.erase(opts.begin());
     333  NObjMgrAdapter* obja = mObjMgr->GetObjAdapter(nom);
     334  if (obja == NULL) return false;
     335  vv = obja->GetInfoString(opts);
     336  return true;
     337}
    324338
    325339/* --Methode-- */
Note: See TracChangeset for help on using the changeset viewer.