C++ Reverse fail without explain

Please use this forum to signal bugs.
Merci d'utiliser ce forum pour signaler des bugs.

C++ Reverse fail without explain

Postby pierprogramm » Thu 27 Nov 2014 12:32

Hello, thanks for the quick activation in this forum.

I have used boUML many times without problems for Java and PHP projects for reversing code, generating code and creating documentation.
Now I'm using it for reverse C++ code, when I select the directory and start the reverse, this will appear in Trace window:
C++ reverse release 2.14

1th directory to reverse : <my_path_directory>

Just this.

In the bar on the bottom appears "scan <my_path_directory>/dataset/ReadDataset.h"

I suppose the problem is in the header file ReadDataset.h,
Code: Select all
// File ReadDataset.h

#include <iostream>
#include <fstream>
#include <vector>
#include "extern/Emotion.h"

#ifndef READDATASET_H_
#define READDATASET_H_

using namespace std;

class ReadDataset {

private:

   std::ifstream fileRead;
   static const unsigned int numeroCampi = 136;

public:

   enum choose_CK_or_CSIRO{
      CK,CSIRO
   };

   struct Landmark{
      string file;
      double x;
      double y;
   };

   struct EmotionLabel{
      int id;
      string file;
      string name;
   };

   ReadDataset();

   void convertAllInLibSVMFormat();

   std::vector<vector<Landmark>> getLandmarks(ReadDataset::choose_CK_or_CSIRO,
         map<string, ReadDataset::EmotionLabel> em =map<string, ReadDataset::EmotionLabel>());

   std::map<string, EmotionLabel> getEmotions(Emotion::choose_emotion);

   void convertAllInCSVFormat();

   virtual ~ReadDataset();

private:

   void getLandmarksFromCK(std::vector<std::vector<Landmark>> &output);

   void getLandmarksFromCSIRO(map<string, ReadDataset::EmotionLabel>,
   std::vector<std::vector<Landmark>> &output);

};

#endif /* READDATASET_H_ */


Something that boUML does not support?

Thanks, sorry for bad english.
pierprogramm
 
Posts: 2
Joined: Thu 27 Nov 2014 12:07

Re: C++ Reverse fail without explain

Postby Bruno Pagès » Thu 27 Nov 2014 12:48

Hello,

I can reverse this file without problem.

Under which OS/version of it are you ?
Which release of Bouml ?
Is your model empty when you reverse ? if not is the behavior the same using an empty model ?

Best regards,

Bruno Pagès
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 455
Joined: Mon 20 Feb 2012 08:23
Location: France

Re: C++ Reverse fail without explain

Postby pierprogramm » Thu 27 Nov 2014 14:03

Bruno Pagès wrote:Hello,

I can reverse this file without problem.

Under which OS/version of it are you ?
Which release of Bouml ?
Is your model empty when you reverse ? if not is the behavior the same using an empty model ?

Best regards,

Bruno Pagès


Thanks for the reply.
OS: Linux mint 13 Maya
Bouml version 4.21 (last version in synaptic)

I've tried in a empty model, same result.
I have also tried to remove the other source files and left just ReadDataset.h, same result...
Bouml can reverse the other folders of the project
Should I download a new version?
pierprogramm
 
Posts: 2
Joined: Thu 27 Nov 2014 12:07

Re: C++ Reverse fail without explain

Postby Bruno Pagès » Thu 27 Nov 2014 14:33

A 4.21 is a so old release, may be your problem was fixed by an earlier release, even a free one (I don't distribute them anymore), but frankly I don't know.

Just now I don't have a Mint 13 to check if the new releases (non free) of Bouml work on it, if you want to do a test you can rename the Bouml folder and associated shell scripts starting it (to save your current version), install the last release of Bouml using the Ubuntu correspondence, and try a C++ reverse with the viewer (boumlViewer) whose doesn't need a license. Of course this tests is only useful if you expect to buy a license ;)

Best regards,

Bruno Pagès
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 455
Joined: Mon 20 Feb 2012 08:23
Location: France

Re: C++ Reverse fail without explain

Postby Bruno Pagès » Thu 27 Nov 2014 20:32

I installed Bouml 6.6.3 under Mint 13, as I can see it works
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 455
Joined: Mon 20 Feb 2012 08:23
Location: France


Return to Bug reports / Rapports de bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron