19 #include <ConfigValues.hpp> 
   25 #define CF_LOG_PAGES 2 
   26 #define CF_MEM_PAGES 3 
   32   for(Uint32 j = 2; j<=7; j++){
 
   33     switch(cf.getTypeOf(j)){
 
   34     case ConfigValues::IntType:
 
   35       ndbout_c(
"Node %d : CFG(%d) : %d", 
 
   36                i, j, cf.get(j, 999));
 
   38     case ConfigValues::Int64Type:
 
   39       ndbout_c(
"Node %d : CFG(%d) : %lld (64)", 
 
   40                i, j, cf.get64(j, 999));
 
   42     case ConfigValues::StringType:
 
   43       ndbout_c(
"Node %d : CFG(%d) : %s",
 
   44                i, j, cf.get(j, 
"<NOT FOUND>"));
 
   47       ndbout_c(
"Node %d : CFG(%d) : TYPE: %d",
 
   48                i, j, cf.getTypeOf(j));
 
   81     cvf.openSection(1, 0);
 
   90     cvf.openSection(1, 1);
 
   99     ndbout_c(
"-- print --");
 
  103     ndbout_c(
"shrink\n-- print --");
 
  106     ndbout_c(
"expand\n-- print --");
 
  109     ndbout_c(
"packed size: %d", cvf.m_cfg->getPackedSize());
 
  112     iter.openSection(CF_NODES, 0);
 
  113     ConfigValues * cfg2 = ConfigValuesFactory::extractCurrentSection(iter);
 
  117     ndbout_c(
"packed size: %d", cfg2->getPackedSize());
 
  120     Uint32 l1 = cvf.m_cfg->pack(buf);
 
  121     Uint32 l2 = cvf.m_cfg->getPackedSize();
 
  125     require(cvf2.unpack(buf));
 
  128     Uint32 l3 = cvf2.m_cfg->pack(buf2);
 
  131     ndbout_c(
"unpack\n-- print --");
 
  134     cfg2->~ConfigValues();;
 
  135     cvf.m_cfg->~ConfigValues();