VIZ++ Class: List

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

Source code

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



#pragma once

#include <viz++/Collection.h>
       
#include <viz++/Sortable.h>

/**
 * List class represents a virtual sortable collection object.
 */

namespace VIZ {

class List :public Collection, public Sortable {

public:
  /**
   * Constructor
   */
  List() { }

  /**
   *
   */
  ~List() { }

  /**
   * Virtual sort method. Need to implement it in the subclasses of this class.
   */
  virtual void sort(SortDirection dir) { 
    //Do nothing here.
  }
};

}



Last modified: 10 Feb 2017

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