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