inline long GraphEditor::DataFlow::LevelMax() {
// if ( !IsValid( false ) ) {
- if ( !IsExecutable() ) {
+// if ( !IsExecutable() ) {
+ // mkr : IPAL9974 -->
+ int SubStreamGraphsNumber = 0 ;
+ if ( !IsValid() || !Graph()->Sort( SubStreamGraphsNumber ) ) {
+ // mkr : IPAL9974 <--
return 0 ;
}
return Graph()->LevelMax() ;
inline SUPERV::ListOfStrings * GraphEditor::DataFlow::LevelNodes(long aLevel ) {
// if ( !IsValid( false ) ) {
- if ( !IsExecutable() ) {
+// if ( !IsExecutable() ) {
+ if ( !IsValid() ) { // mkr : IPAL9974
return ((SUPERV::ListOfStrings * ) NULL ) ;
}
return Graph()->LevelNodes( aLevel ) ;
inline long GraphEditor::DataFlow::ThreadsMax() {
// if ( !IsValid() ) {
- if ( !IsExecutable() ) {
+// if ( !IsExecutable() ) {
+ // mkr : IPAL9974 -->
+ int SubStreamGraphsNumber = 0 ;
+ if ( !IsValid() || !Graph()->Sort( SubStreamGraphsNumber ) ) {
+ // mkr : IPAL9974 <--
return 0 ;
}
return Graph()->ThreadsMax() ;