| %%% 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 |
| %%% |
| |