/* 
 * File:   pt_t.h
 * Author: carlos
 *
 * Created on 9 de noviembre de 2012, 20:31
 */

#ifndef PT_T_H
#define	PT_T_H

#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>

class Pt_t {
    friend class boost::serialization::access;
    template<class Archive>
    void serialize(Archive &ar, const unsigned int version){
        ar & x;
        ar & y;
    }
    
public:
    Pt_t();
    Pt_t(const Pt_t& orig);
    virtual ~Pt_t();

    void SetY(int y) {
        this->y = y;
    }

    int GetY() const {
        return y;
    }

    void SetX(int x) {
        this->x = x;
    }

    int GetX() const {
        return x;
    }

    void setB(int b) {
        this->b = b;
    }

    int getB() const {
        return b;
    }

    void setG(int g) {
        this->g = g;
    }

    int getG() const {
        return g;
    }

    void setR(int r) {
        this->r = r;
    }

    int getR() const {
        return r;
    }

    void setZ(int z) {
        this->z = z;
    }

    int getZ() const {
        return z;
    }
    
    
private:

    int x;
    int y;
    int z;
    
    int r;
    int g;
    int b;
};

#endif	/* PT_T_H */

