Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - zlotin

Pages: [1]
1
General Board / Re: derived classes
« on: January 10, 2002, 05:36:41 am »
sorry... mistaken...

class A
{
   virtual void f1()=0;
   virtual void f2()=0;
};

class b : public A
{
   virtual void f1() {} ;
};
class c : public b
{
   virtual void f2() {} ;
};
classes should be derived one from other...

2
General Board / derived classes
« on: January 10, 2002, 04:31:08 am »
I have the followed class hierarchy:
class A
{
    virtual void f1()=0;
    virtual void f2()=0;
};

class b
{
    virtual void f1() {} ;
};
class c
{
    virtual void f2() {} ;
};

How can I draw class diagram for this code?

When I tried to implement it, I got ( after export the code):
class A
{
     B * m_B;  

     virtual f1() =0;
     virtual f2() =0;
};

class B : public A
{
     C * m_C;

public:
     B();
     virtual ~B();
     virtual f1() =0;
     virtual f2() =0;

};

class C : public B
{
     B * m_B;

public:
     C();
     virtual ~C();
};

3
General Board / sequational diagram
« on: January 10, 2002, 12:11:08 am »
How can I display the callback call on sequational diagram?
When I draw the return message, it caused to the both classes to be displayed wrong.


4
General Board / Re: Evaluation
« on: January 08, 2002, 11:02:14 pm »
Most of the problems successfully passed to the new version.

5
General Board / Evaluation
« on: January 07, 2002, 06:41:19 am »
I'm making the evaluation for our department in order to purcase CASE editor. I found some problems in the EA( I'm using evaluation version 3.0, build 423.
Problems:
1.The new generalization link by default has the "Unspecified" direction, which caused to the adding of the pointer to the derived class into the base one. Looks like a error.
The same problem found in aggregation connector. Why do not use default "source to target" direction?
2.Imported from code interfaces have the icon as the class. Change of the object type do not change it.
3.set source and target for connector dialog does not have all objects in the list. No interfaces found in the list.
4.from time to time gets the "error reading file" on code generation ( C++ ) if file exists in the disk. Possible caused when no cpp file, the only h one exists.
5.Typo in definition of virtual destructor for code generation
6.export/import/export removed a word “public” from the class definition
7.“const” keyword made a problem while importing class.
8.Inner classes are not visible if nesting is more than one (reverse engineering)
9.Reverse engineering doesn’t understand the aggregated classe and draws association.
10.If you set color of class in some diagram, it will have the same color on all diagrams
11. If the disagramm can be added to the word document as object ( not as bitmap )?document?





6
General Board / Sequential diagram
« on: January 09, 2002, 01:35:37 am »
Time scop of the message on target object should be finished when the message finished. Time scops of different messages should be different, do not concatenate them.

7
General Board / Export/Import code
« on: January 09, 2002, 12:06:31 am »
a lot of problems on export/import.
Just try to create one interface and derived from it class and to import/export it 3 times ( do not forget to remove files before export ). New strange links, variables added, public declaration converts to private and so on...

8
General Board / Sequational diagram-messages
« on: January 08, 2002, 04:49:57 am »
As I remember, in other case editors when I adding the message to sequational diagram, the operation is automatically added to the class. Has the EA the same feature?

9
General Board / Re: problem on importing classes
« on: January 08, 2002, 02:43:59 am »
no problems... new file with this text, import... and you are getting... Class IMPORT...


#define IMPORT __declspec( dllexport )

//class IMPORT c_zz ;
class IMPORT c_zz
{
     public:
           int i ;
};


10
General Board / problem on importing classes
« on: January 08, 2002, 12:37:57 am »
I'm triing to import classes which have the __declspec( dllexport ) prefix; The result is imported the class with name "__declspec". I tried to use the defines to hide the __declspec( dllexport ), or predefinitions ( this way I used when worked with together ), The result is negative anyway - the class with wrong name is created, the real class is not in the project.

Pages: [1]