Sha256: 1b929b2a409e3ddf1758e018b126608098cdfd40b1650885d3b5f52fbaaa0ee1

Contents?: true

Size: 1007 Bytes

Versions: 8

Compression:

Stored size: 1007 Bytes

Contents

#ifndef __ADDER_H__
#define __ADDER_H__

#include <string>
using namespace std;

namespace classes {
  class Forwarder;

  class Adder {
    public:
      Adder();

      static const int MY_VALUE;

      static const float HideMe;

      static int doAdding(int a, int b, int c, int d, int e) {
        return a + b + c + d + e;
      }

      int addIntegers(int a, int b) { return a + b; }

      float addFloats(float a, float b) { return a + b; }

      string addStrings(string a, string b) { return a + b; }

      string getClassName() { return "Adder"; }

      int value1;
      float value2;
      string value3;

      string shouldBeTransformed;

      const int const_var;
  };

  template<typename T>
  class TemplateAdder {

  };

  typedef TemplateAdder<int> IntAdder;

  template<typename T>
  class NestedTemplate {

  };

  typedef NestedTemplate<int> SuperTemplate;
  typedef SuperTemplate MiddleTypedef;
  typedef MiddleTypedef ShouldFindMe;

  typedef Adder DontFindMeBro;
}

#endif 

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rbplusplus-1.3.0 test/headers/Adder.h
rbplusplus-1.2.1 test/headers/Adder.h
rbplusplus-1.2.0 test/headers/Adder.h
rbplusplus-1.1.0 test/headers/Adder.h
rbplusplus-1.0.3 test/headers/Adder.h
rbplusplus-1.0.1 test/headers/Adder.h
rbplusplus-1.0 test/headers/Adder.h
rbplusplus-0.9.1 test/headers/Adder.h