blob: b62e5ad0ccbc49b595f86c376ae3fce69d645de5 [file] [log] [blame]
Christopher Piro094823a2007-07-18 00:26:12 +00001%%% Copyright (c) 2007- Facebook
2%%% Distributed under the Thrift Software License
David Reiss0c90f6f2008-02-06 22:18:40 +00003%%%
Christopher Piro094823a2007-07-18 00:26:12 +00004%%% 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%%%
David Reiss0c90f6f2008-02-06 22:18:40 +000028
Christopher Piro094823a2007-07-18 00:26:12 +000029%%% 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