17 #ifndef COMMONARRAY_HPP_ 
   18 #define COMMONARRAY_HPP_ 
   22 #ifdef KAA_USE_CONFIGURATION 
   25 #include <boost/ref.hpp> 
   29 class CommonArray: 
public ICommonArray {
 
   31     CommonArray(
const avro::NodePtr &schema);
 
   33     const boost::any        getValue()
  const   { 
return boost::cref(theList_).get(); }
 
   34     const avro::NodePtr &   getSchema()
 const   { 
return schema_; }
 
   36     avro::GenericDatum      toAvro()    
const;
 
   37     std::string             toString()  
const;
 
   39     container_type &        getList()   
const;
 
   41     avro::NodePtr           schema_;
 
   42     mutable container_type  theList_;