Any design pattern for a transformation class?

N

newbie

This is probably a too general question, thanks for any feedback in
advance.

I am trying to write a class to do transformation on a data set. I
want to make it easy to maintain in the long-run and would like to ask
here for some advice.

I want to have a class DataSet which holds the data to be transformed;
I want to have a class Transformation which transform a DataSet object
into another DataSet object. For the long-term, Transformation will be
a family of classes.

| DataSet obj1 | ---> (Transformation obj_trans) ---> | DataSet obj2
|

Does anyone have a good pattern to recommend?
 
B

Barry

newbie said:
This is probably a too general question, thanks for any feedback in
advance.

I am trying to write a class to do transformation on a data set. I
want to make it easy to maintain in the long-run and would like to ask
here for some advice.

I want to have a class DataSet which holds the data to be transformed;
I want to have a class Transformation which transform a DataSet object
into another DataSet object. For the long-term, Transformation will be
a family of classes.

| DataSet obj1 | ---> (Transformation obj_trans) ---> | DataSet obj2
|

Does anyone have a good pattern to recommend?

the transform in std not enough for you?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top