Logo Search packages:      
Sourcecode: yaskkserv version File versions  Download package

void SkkSimpleString::append ( int  scalar,
Flag  flag = FLAG_LEFT,
int  column = 11 
) [inline]

scalar を 10 進文字列に変換して追加します。

Attention:
文字列は \0 で終端されます。

Definition at line 686 of file skk_simple_string.hpp.

References overwrite().

        {
#ifdef YASKKSERV_DEBUG_PARANOIA
                const int terminator_size = 1;
                int size = buffer_ + buffer_size_ - MARGIN_SIZE - current_ - terminator_size;

                const int append_terminator_size = 1;
                DEBUG_ASSERT_RANGE(size,
                                   11 + append_terminator_size,
                                   buffer_size_ - MARGIN_SIZE * 2 - 1);
#endif  // YASKKSERV_DEBUG_PARANOIA
                current_ = overwrite(current_,
                                     scalar,
                                     flag,
                                     column);
                *current_ = '\0';
                update_string();
        }


Generated by  Doxygen 1.6.0   Back to index