~parthm/+junk/b19SEP10

« back to all changes in this revision

Viewing changes to src/Object.hpp

  • Committer: Parth Malwankar
  • Date: 2010-09-19 04:44:10 UTC
  • Revision ID: parth.malwankar@gmail.com-20100919044410-lvda6pw0lnmalo2p
initial object

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
// Copyright 2010 Parth Malwankar <parth.malwankar@gmail.com>
 
3
//
 
4
// Licensed under the Apache License, Version 2.0 (the "License");
 
5
// you may not use this file except in compliance with the License.
 
6
// You may obtain a copy of the License at
 
7
//
 
8
//     http://www.apache.org/licenses/LICENSE-2.0
 
9
//
 
10
// Unless required by applicable law or agreed to in writing, software
 
11
// distributed under the License is distributed on an "AS IS" BASIS,
 
12
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
13
// See the License for the specific language governing permissions and
 
14
// limitations under the License.
 
15
//
 
16
 
 
17
#pragma once
 
18
 
 
19
#include <string>
 
20
 
 
21
#include "Common.hpp"
 
22
 
 
23
namespace balrog {
 
24
using std::string;
 
25
 
 
26
class Object {
 
27
  public:
 
28
    Object();
 
29
    ~Object();
 
30
    virtual string toString() const;
 
31
    virtual string toInternalString() const;
 
32
    string className() const;
 
33
 
 
34
  protected:
 
35
    string name_;
 
36
  private:
 
37
    NO_COPY_AND_ASSIGN(Object);
 
38
};
 
39
 
 
40
} // namespace balrog
 
41
 
 
42
// vim: set ft=cpp ts=2 sw=2 sts=2 et:
 
43