[MyLib] added inherit function to tProto, which enable objective coding