~ubuntu-branches/ubuntu/raring/ginkgocadx/raring-proposed

« back to all changes in this revision

Viewing changes to src/cadxcore/api/imodelointegracion.h

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2011-09-09 08:39:26 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: package-import@ubuntu.com-20110909083926-iktecd132cnku5cd
Tags: 2.5.4.0~rc-1
New upstream version (patches were applied)

Show diffs side-by-side

added added

removed removed

Lines of Context:
596
596
                std::string       Titulo;                                               
597
597
                std::string       Ruta;
598
598
                std::string       Descripcion;
 
599
                bool                                    Monitorize;
 
600
                bool                                    CleanBefore;
 
601
                bool                                    CleanAfter;
599
602
 
600
603
                Ubicacion()
601
604
                {
602
605
 
603
606
                }
604
607
 
605
 
                Ubicacion(const std::string& titulo, const std::string& ruta, const std::string& descripcion)
 
608
                Ubicacion(const std::string& titulo, const std::string& ruta, const std::string& descripcion, bool monitorize, bool cleanbefore, bool cleanafter)
606
609
                {
607
610
                        this->Titulo = titulo;
608
 
                        Update(ruta, descripcion);
 
611
                        Update(ruta, descripcion, monitorize, cleanbefore, cleanafter);
609
612
 
610
613
                }
611
614
 
619
622
 
620
623
                }
621
624
 
622
 
                void Update(const std::string& ruta, const std::string& desc)
 
625
                void Update(const std::string& ruta, const std::string& desc, bool monitorize, bool cleanbefore, bool cleanafter)
623
626
                {
624
627
                        this->Ruta        = ruta;
625
628
                        this->Descripcion = desc;
 
629
                        this->Monitorize = monitorize;
 
630
                        this->CleanBefore = cleanbefore;
 
631
                        this->CleanAfter = cleanafter;
626
632
                }
627
633
 
628
634
                Ubicacion& operator=(const Ubicacion& otro)
630
636
                        this->Titulo      = otro.Titulo;
631
637
                        this->Ruta        = otro.Ruta;
632
638
                        this->Descripcion = otro.Descripcion;
 
639
                        this->Monitorize        = otro.Monitorize;
 
640
                        this->CleanBefore       = otro.CleanBefore;
 
641
                        this->CleanAfter        = otro.CleanAfter;
633
642
 
634
643
                        return *this;
635
644
                }