VIZ++ Class: Collection

 VIZ++ Class Library  VIZ++ Samples  VIZ++ ClassTree 

Source code

/*
 * Collection.h 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */



#pragma once

#include <viz++\Object.h>


namespace VIZ {

class Collection :public Object {
  public:
  Collection() { }
  ~Collection() { }
  virtual bool add(Object* object) { return False; }
  virtual void    clear() { }
  // 2000/11/10
  virtual int  getLength() const { return 0; }
  virtual bool remove(Object* object) { return False; }
  virtual bool isContained(Object* object) { return False; }
};

}



Last modified: 10 Feb 2017

Copyright (c) 2009-2017 Antillia.com ALL RIGHTS RESERVED.