How to use class as member variable with arduino

Ok...so is it best practice to write a bunch of methods for each variable type or is there a way to have a method that covers both const char and char (as an example).

Thanks for your fast help, I really appreciate it