blob: 003748a7ab26b555ba6f8cf4cbcbaa11dd2c2e5f [file] [log] [blame]
Christopher Piro094823a2007-07-18 00:26:12 +00001%%% Copyright (c) 2007- Facebook
2%%% Distributed under the Thrift Software License
3%%%
4%%% See accompanying file LICENSE or visit the Thrift site at:
5%%% http://developers.facebook.com/thrift/
6
7-module(tProcessor).
8
9-include("oop.hrl").
10-include("tProcessor.hrl").
11
12-behavior(oop).
13
14-export([attr/4, super/0, inspect/1]).
15
16-export([new/0]).
17
18%%%
19%%% define attributes
20%%% 'super' is required unless ?MODULE is a base class
21%%%
22
23?ATTR_DUMMY.
24
25%%%
26%%% behavior callbacks
27%%%
28
29%%% super() -> SuperModule = atom()
30%%% | none
31
32super() ->
33 none.
34
35%%% inspect(This) -> string()
36
37inspect(_This) ->
38 "".
39
40%%%
41%%% class methods
42%%%
43
44new() ->
45 #?MODULE{}.
46
47%%%
48%%% instance methods
49%%%
50