MCPcopy Create free account
hub / github.com/anjo76/angelscript / SubString

Method SubString

sdk/angelscript/source/as_string.cpp:331–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331asCString asCString::SubString(size_t in_start, size_t in_length) const
332{
333 if( in_start >= GetLength() || in_length == 0 )
334 return asCString("");
335
336 if( in_length == (size_t)(-1) ) in_length = GetLength() - in_start;
337
338 asCString tmp;
339 tmp.Assign(AddressOf() + in_start, in_length);
340
341 return tmp;
342}
343
344int asCString::Compare(const char *str) const
345{

Callers 15

ReadFunctionSignatureMethod · 0.80
WriteSummaryMethod · 0.80
DetermineSingleFuncMethod · 0.80
ImplicitConvObjectRefMethod · 0.80
SymbolLookupMethod · 0.80
CompileFunctionCallMethod · 0.80
CheckNameConflictMethod · 0.80

Calls 2

asCStringClass · 0.85
AssignMethod · 0.80

Tested by

no test coverage detected