return thePrefix;
}
+ //===========================================================================
+ // declaration
+ void DumpChildrenToPython(SALOMEDS::Study_ptr theStudy,
+ CORBA::Boolean theIsPublished,
+ CORBA::Boolean& theIsValidScript,
+ SALOMEDS::SObject_ptr theSObject,
+ std::ostream& theStr,
+ TName2EntryMap& theName2EntryMap,
+ TEntry2NameMap& theEntry2NameMap,
+ std::string theArgumentName,
+ std::string thePrefix);
//===========================================================================
template<class TTableAttr>
class TEnableGridEvent: public SALOME_Event
{
public:
- typedef void (Plot2d_ViewFrame::* TFun)(bool, const int, bool, const int, bool = true);
+ typedef void (Plot2d_ViewFrame::* TFun)(bool, const int, bool, const int, bool);
TEnableGridEvent (Plot2d_ViewFrame* theView, TFun theFun,
CORBA::Boolean theMajor, CORBA::Long theNumMajor,
CORBA::Boolean theMinor, CORBA::Long theNumMinor):
virtual void Execute()
{
- (myView->*myFun)(myMajor,myNumMajor,myMinor,myNumMinor);
+ (myView->*myFun)(myMajor,myNumMajor,myMinor,myNumMinor,true);
}
protected:
Plot2d_ViewFrame* myView;
class TSetScaleModeEvent: public SALOME_Event
{
public:
- typedef void (Plot2d_ViewFrame::* TFun)(const int, bool = true);
+ typedef void (Plot2d_ViewFrame::* TFun)(const int, bool);
TSetScaleModeEvent (Plot2d_ViewFrame* theView, TFun theFun, int theScaling):
myView(theView), myFun(theFun), myScaling(theScaling)
{}
virtual void Execute()
{
- (myView->*myFun)(myScaling);
+ (myView->*myFun)(myScaling,true);
}
protected:
Plot2d_ViewFrame* myView;