38 #define LINE_SIZE 1024
43 std::cerr <<
"Usage: " << program <<
" [-h]\n";
44 std::cerr <<
"Stand alone houdini application\n";
56 while ((opt = getopt(argc, argv,
"h")) != -1)
61 default:
usage(argv[0]);
78 for (i = optind; i < argc; i++)
82 ts <<
"mread -m * " << argv[i] << std::ends;
int theMain(int argc, char *argv[])
OP_API OP_Director * OPsetDirector(OP_Director *boss)
PI_API void PIcreateResourceManager(bool verbose=true)
SYS_FORCE_INLINE const char * buffer() const
An output stream object that owns its own string buffer storage.
const UT_WorkBuffer & str()
Returns a read-only reference to the underlying UT_WorkBuffer.
GLsizeiptr const void GLenum usage
OP_CommandManager * getCommandManager()
static SYS_FUNC_NORETURN void fail(const UT_ExitCode exit_code=EXIT_GENERIC_ERROR)
Synonym for exit(UT_Exit::EXIT_GENERIC_ERROR)
void sendInput(const char *input, bool create_block=true)
GLbitfield GLuint program