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

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top